Interface RejectableChannelOutput
- All Superinterfaces:
ChannelOutput, Poisonable
- All Known Implementing Classes:
RejectableChannelOutputImpl
Deprecated.
Defines an interface for a channel output end which may reject data if the reader is not prepared
to receive it and calls
reject instead of read on the input channel end.-
Method Summary
Methods inherited from interface Poisonable
poison
-
Method Details
-
write
Deprecated.Writes data over the channel.- Specified by:
writein interfaceChannelOutput- Parameters:
o- an object to write over the channel.- Throws:
ChannelDataRejectedException- if the reader rejects the data instead of reading it from the channel.
-
PoisonException. It remains only because it is used by some of the networking features.