CSP for Java
(JCSP) 1.1-rc4

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.

Quickstone Technologies Limited

Method Summary
 void write(Object o)
          Deprecated. Writes data over the channel.
Methods inherited from interface org.jcsp.lang.Poisonable

Method Detail


void write(Object o)
           throws ChannelDataRejectedException
Writes data over the channel.

Specified by:
write in interface ChannelOutput
o - an object to write over the channel.
ChannelDataRejectedException - if the reader rejects the data instead of reading it from the channel.

CSP for Java
(JCSP) 1.1-rc4

Submit a bug or feature to jcsp-team@kent.ac.uk
Version 1.1-rc4 of the JCSP API Specification (Copyright 1997-2008 P.D.Austin and P.H.Welch - All Rights Reserved)
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.