CSP for Java
(JCSP) 1.1-rc4

org.jcsp.lang
Interface RejectableChannelInput

All Superinterfaces:
ChannelInput, Poisonable
All Known Implementing Classes:
RejectableAltingChannelInput

Deprecated. This channel is superceded by the poison mechanisms, please see PoisonException. It remains only because it is used by some of the networking features.

public interface RejectableChannelInput
extends ChannelInput

Defines an interface for an input channel end that gives the reader the ability to reject instead of accepting pending data.

Author:
Quickstone Technologies Limited

Method Summary
 void reject()
          Deprecated. Reject any data pending instead of reading it.
 
Methods inherited from interface org.jcsp.lang.ChannelInput
endRead, read, startRead
 
Methods inherited from interface org.jcsp.lang.Poisonable
poison
 

Method Detail

reject

void reject()
Deprecated. 
Reject any data pending instead of reading it. The currently blocked writer will receive a ChannelDataRejectedException.


CSP for Java
(JCSP) 1.1-rc4

Submit a bug or feature to jcsp-team@kent.ac.uk
Version 1.1-rc4 of the JCSP API Specification (Copyright 1997-2008 P.D.Austin and P.H.Welch - All Rights Reserved)
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.