Package org.jcsp.net2

Class ChannelDataState

java.lang.Object
org.jcsp.net2.ChannelDataState

final class ChannelDataState extends Object
Represents the state of the networked channel. For information on networked channels, see the relevant documentation.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (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
    Modifier
    Constructor
    Description
    private
    Private default constructor.
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • INACTIVE

      static final byte INACTIVE
      Signifies that the channel has not been activated yet.
      See Also:
    • OK_INPUT

      static final byte OK_INPUT
      Signifies that the channel has been started and is a input end.
      See Also:
    • OK_OUTPUT

      static final byte OK_OUTPUT
      Signified that the channel has been started and is a output end.
      See Also:
    • DESTROYED

      static final byte DESTROYED
      Signifies that the channel has been destroyed.
      See Also:
    • BROKEN

      static final byte BROKEN
      Signifies 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 MOVING
      Signifies that the channel has recently moved and has yet to be reestablished at a new location.
      See Also:
    • MOVED

      static final byte MOVED
      Signifies that the channel has moved to a new location and that this new location is available.
      See Also:
    • POISONED

      static final byte POISONED
      Signifies that the channel has been poisoned.
      See Also:
  • Constructor Details

    • ChannelDataState

      private ChannelDataState()
      Private default constructor.