Package org.jcsp.net2

Class BarrierDataState


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

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

      Constructors 
      Modifier Constructor Description
      private BarrierDataState()
      Empty private constructor.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • INACTIVE

        static final byte INACTIVE
        Barrier is inactive. It has not been initialised yet.
        See Also:
        Constant Field Values
      • OK_SERVER

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

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

        static final byte RESIGNED
        Barrier has resigned from the server front end.
        See Also:
        Constant Field Values
    • Constructor Detail

      • BarrierDataState

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