Package org.jcsp.net2
Class BarrierDataState
- java.lang.Object
-
- org.jcsp.net2.BarrierDataState
-
final class BarrierDataState extends java.lang.ObjectDescribes the possible states that a networked Barrier might be in.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static byteBROKENBarrier is broken.(package private) static byteDESTROYEDBarrier has been destroyed(package private) static byteINACTIVEBarrier is inactive.(package private) static byteOK_CLIENTBarrier is in OK state, and is a client end.(package private) static byteOK_SERVERBarrier is in OK state, and is a server end.(package private) static byteRESIGNEDBarrier has resigned from the server front end.
-
Constructor Summary
Constructors Modifier Constructor Description privateBarrierDataState()Empty private constructor.
-
-
-
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
-
BROKEN
static final byte BROKEN
Barrier is broken.- See Also:
- Constant Field Values
-
DESTROYED
static final byte DESTROYED
Barrier has been destroyed- See Also:
- Constant Field Values
-
RESIGNED
static final byte RESIGNED
Barrier has resigned from the server front end.- See Also:
- Constant Field Values
-
-