public class RejectableOne2AnyChannel
This implements a one-to-any object channel, 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
.
Constructor and description |
---|
RejectableOne2AnyChannel
() Constructs a new channel. |
JCSP for Java 1.8 generated 14-10-2016 by Jon Kerridge, Edinburgh Napier University - j dot kerridge at napier dot ac dot uk