Package org.jcsp.lang
Class RejectableOne2OneChannel
java.lang.Object
org.jcsp.lang.RejectableOne2OneChannel
- All Implemented Interfaces:
RejectableChannel
Deprecated.
This implements a one-to-one object channel
for use by a single writer and single reader. Refer to One2OneChannel
for a
description of this behaviour.
Additionally, this channel supports a reject
operation. The reader may call
the reject method to force any current writer to abort with a
ChannelDataRejectedException
. Subsequent read and write attempts will immediately cause a
ChannelDataRejectedException
.
Note that the reject
operation cannot be called concurrently to a read.
-
Field Details
-
innerChannel
Deprecated.
-
-
Constructor Details
-
RejectableOne2OneChannel
public RejectableOne2OneChannel()Deprecated.Constructs a new channel.
-
-
Method Details
-
inAlt
Deprecated. -
in
Deprecated.- Specified by:
in
in interfaceRejectableChannel
-
out
Deprecated.- Specified by:
out
in interfaceRejectableChannel
-
PoisonException
. It remains only because it is used by some of the networking features.