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 ChannelInputImpl
endRead, poison, read, startReadMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ChannelInput
endRead, read, startReadMethods inherited from interface 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
-