Package org.jcsp.lang
Class RejectableBufferedOne2AnyChannel
java.lang.Object
org.jcsp.lang.RejectableBufferedOne2AnyChannel
- All Implemented Interfaces:
RejectableChannel
Deprecated.
This implements a one-to-any object channel with user-definable buffering,
safe for use by a single writer and many readers. Refer to One2AnyChannel
for a
description of this behaviour.
Additionally, this channel supports a reject
operation. One of the readers may call
the reject method to force any current writer to abort with a
ChannelDataRejectedException
(unless there is already a read which will cause
completion of the write). Subsequent read and write attempts will immediately cause a
ChannelDataRejectedException
.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Constructs a newRejectableBufferedOne2AnyChannel
-
Method Summary
-
Field Details
-
innerChannel
BufferedOne2AnyChannel innerChannelDeprecated.
-
-
Constructor Details
-
RejectableBufferedOne2AnyChannel
Deprecated.Constructs a newRejectableBufferedOne2AnyChannel
- Parameters:
data
- the buffer implementation to use.
-
-
Method Details
-
in
Deprecated.- Specified by:
in
in interfaceRejectableChannel
-
out
Deprecated.- Specified by:
out
in interfaceRejectableChannel
-
PoisonException