Package org.jcsp.net2

Class BarrierDataState

java.lang.Object
org.jcsp.net2.BarrierDataState

final class BarrierDataState extends Object
Describes the possible states that a networked Barrier might be in.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) static final byte
    Barrier is broken.
    (package private) static final byte
    Barrier has been destroyed
    (package private) static final byte
    Barrier is inactive.
    (package private) static final byte
    Barrier is in OK state, and is a client end.
    (package private) static final byte
    Barrier is in OK state, and is a server end.
    (package private) static final byte
    Barrier has resigned from the server front end.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    Empty private 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
      Barrier is inactive. It has not been initialised yet.
      See Also:
    • OK_SERVER

      static final byte OK_SERVER
      Barrier is in OK state, and is a server end. Has been initialised.
      See Also:
    • OK_CLIENT

      static final byte OK_CLIENT
      Barrier is in OK state, and is a client end. Has been initialised
      See Also:
    • BROKEN

      static final byte BROKEN
      Barrier is broken.
      See Also:
    • DESTROYED

      static final byte DESTROYED
      Barrier has been destroyed
      See Also:
    • RESIGNED

      static final byte RESIGNED
      Barrier has resigned from the server front end.
      See Also:
  • Constructor Details

    • BarrierDataState

      private BarrierDataState()
      Empty private constructor. This is simply a protocol.