Package org.jcsp.net2
Class ChannelDataState
java.lang.Object
org.jcsp.net2.ChannelDataState
Represents the state of the networked channel. For information on networked channels, see the relevant documentation.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final byte
Signifies that the channel is broken.(package private) static final byte
Signifies that the channel has been destroyed.(package private) static final byte
Signifies that the channel has not been activated yet.(package private) static final byte
Signifies that the channel has moved to a new location and that this new location is available.(package private) static final byte
Signifies that the channel has recently moved and has yet to be reestablished at a new location.(package private) static final byte
Signifies that the channel has been started and is a input end.(package private) static final byte
Signified that the channel has been started and is a output end.(package private) static final byte
Signifies that the channel has been poisoned. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INACTIVE
static final byte INACTIVESignifies that the channel has not been activated yet.- See Also:
-
OK_INPUT
static final byte OK_INPUTSignifies that the channel has been started and is a input end.- See Also:
-
OK_OUTPUT
static final byte OK_OUTPUTSignified that the channel has been started and is a output end.- See Also:
-
DESTROYED
static final byte DESTROYEDSignifies that the channel has been destroyed.- See Also:
-
BROKEN
static final byte BROKENSignifies that the channel is broken. This is from the original JCSP model, and may be unnecessary as Destroyed and Poisoned may cover this.- See Also:
-
MOVING
static final byte MOVINGSignifies that the channel has recently moved and has yet to be reestablished at a new location.- See Also:
-
MOVED
static final byte MOVEDSignifies that the channel has moved to a new location and that this new location is available.- See Also:
-
POISONED
static final byte POISONEDSignifies that the channel has been poisoned.- See Also:
-
-
Constructor Details
-
ChannelDataState
private ChannelDataState()Private default constructor.
-