Package org.jcsp.lang
Class RejectableChannelInputImpl
java.lang.Object
org.jcsp.lang.ChannelInputImpl
org.jcsp.lang.RejectableChannelInputImpl
- All Implemented Interfaces:
ChannelInput,Poisonable,RejectableChannelInput
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jcsp.lang.ChannelInputImpl
endRead, poison, read, startReadMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jcsp.lang.ChannelInput
endRead, read, startReadMethods inherited from interface org.jcsp.lang.Poisonable
poison
-
Constructor Details
-
RejectableChannelInputImpl
-
-
Method Details
-
reject
public void reject()Description copied from interface:RejectableChannelInputReject any data pending instead of reading it. The currently blocked writer will receive aChannelDataRejectedException.- Specified by:
rejectin interfaceRejectableChannelInput
-