Package org.jcsp.lang
Class RejectableOne2AnyChannel
- java.lang.Object
-
- org.jcsp.lang.RejectableOne2AnyChannel
-
- All Implemented Interfaces:
RejectableChannel
public class RejectableOne2AnyChannel extends Object implements RejectableChannel
Deprecated.This channel is superceded by the poison mechanisms, please seePoisonException. It remains only because it is used by some of the networking features.This implements a one-to-any object channel, safe for use by a single writer and many readers. Refer to
One2AnyChannelfor a description of this behaviour.Additionally, this channel supports a
rejectoperation. One of the readers may call the reject method to force any current writer to abort with aChannelDataRejectedException(unless there is already a read which will cause completion of the write). Subsequent read and write attempts will immediately cause aChannelDataRejectedException.- Author:
- Quickstone Technologies Limited
-
-
Constructor Summary
Constructors Constructor Description RejectableOne2AnyChannel()Deprecated.Constructs a new channel.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description RejectableChannelInputin()Deprecated.RejectableChannelOutputout()Deprecated.
-
-
-
Method Detail
-
in
public RejectableChannelInput in()
Deprecated.- Specified by:
inin interfaceRejectableChannel
-
out
public RejectableChannelOutput out()
Deprecated.- Specified by:
outin interfaceRejectableChannel
-
-