Package org.jcsp.net2.cns
Class CNSMessageProtocol
java.lang.Object
org.jcsp.net2.cns.CNSMessageProtocol
This class defines the message types that can be sent to and from the CNS. This is internal to JCSP
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final byte
*** Not currently used ***(package private) static final byte
*** Not currently used ***(package private) static final byte
*** Not currently used ***(package private) static final byte
*** Not currently used ***(package private) static final byte
A message sent from a CNSService to a CNS allowing logging on(package private) static final byte
The reply from a Logon(package private) static final byte
A reply from a registration request(package private) static final byte
Register a name with the CNS(package private) static final byte
A reply from a resolve request(package private) static final byte
Resolve a location from the CNS -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
LOGON_MESSAGE
static final byte LOGON_MESSAGEA message sent from a CNSService to a CNS allowing logging on- See Also:
-
LOGON_REPLY_MESSAGE
static final byte LOGON_REPLY_MESSAGEThe reply from a Logon- See Also:
-
REGISTER_REQUEST
static final byte REGISTER_REQUESTRegister a name with the CNS- See Also:
-
RESOLVE_REQUEST
static final byte RESOLVE_REQUESTResolve a location from the CNS- See Also:
-
LEASE_REQUEST
static final byte LEASE_REQUEST*** Not currently used ***- See Also:
-
DEREGISTER_REQUEST
static final byte DEREGISTER_REQUEST*** Not currently used ***- See Also:
-
REGISTER_REPLY
static final byte REGISTER_REPLYA reply from a registration request- See Also:
-
RESOLVE_REPLY
static final byte RESOLVE_REPLYA reply from a resolve request- See Also:
-
LEASE_REPLY
static final byte LEASE_REPLY*** Not currently used ***- See Also:
-
DEREGISTER_REPLY
static final byte DEREGISTER_REPLY*** Not currently used ***- See Also:
-
-
Constructor Details
-
CNSMessageProtocol
private CNSMessageProtocol()Empty, private constructor. We do not create instances of this class.
-