org.jcsp.lang
Interface RejectableChannelOutput
- All Superinterfaces:
- ChannelOutput, Poisonable
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 RejectableChannelOutput
- extends ChannelOutput
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.
- Author:
- Quickstone Technologies Limited
Method Summary |
void |
write(Object o)
Deprecated. Writes data over the channel. |
write
void write(Object o)
throws ChannelDataRejectedException
- Deprecated.
- Writes data over the channel.
- Specified by:
write
in interface ChannelOutput
- Parameters:
o
- an object to write over the channel.
- Throws:
ChannelDataRejectedException
- if the reader rejects the data instead of reading it from the channel.
Copyright © 1996-2012. All Rights Reserved.