Package org.jcsp.lang
Interface RejectableChannelInput
- All Superinterfaces:
ChannelInput
,Poisonable
- All Known Implementing Classes:
RejectableAltingChannelInput
,RejectableAltingChannelInputImpl
,RejectableChannelInputImpl
Deprecated.
Defines an interface for an input channel end that gives the reader the ability to reject instead
of accepting pending data.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
reject
void reject()Deprecated.Reject any data pending instead of reading it. The currently blocked writer will receive aChannelDataRejectedException
.
-
PoisonException
. It remains only because it is used by some of the networking features.