PoisonException. It remains only because it is used by some of the networking features.public class RejectableOne2OneChannel extends Object implements RejectableChannel
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.
| Constructor and Description |
|---|
RejectableOne2OneChannel()
Deprecated.
Constructs a new channel.
|
| Modifier and Type | Method and Description |
|---|---|
RejectableChannelInput |
in()
Deprecated.
|
RejectableAltingChannelInput |
inAlt()
Deprecated.
|
RejectableChannelOutput |
out()
Deprecated.
|
public RejectableOne2OneChannel()
public RejectableAltingChannelInput inAlt()
public RejectableChannelInput in()
in in interface RejectableChannelpublic RejectableChannelOutput out()
out in interface RejectableChannelSubmit 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.