Package org.jcsp.net2.bns
Class BNSMessageProtocol
java.lang.Object
org.jcsp.net2.bns.BNSMessageProtocol
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 BNSService to a BNS to log on(package private) static final byte
Reply from server after a log on(package private) static final byte
Reply from a registration request(package private) static final byte
Register a name with the BNS(package private) static final byte
Reply from a resolve request(package private) static final byte
Resolve a name from the NS -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
LOGON_MESSAGE
static final byte LOGON_MESSAGEA message sent from a BNSService to a BNS to log on- See Also:
-
LOGON_REPLY_MESSAGE
static final byte LOGON_REPLY_MESSAGEReply from server after a log on- See Also:
-
REGISTER_REQUEST
static final byte REGISTER_REQUESTRegister a name with the BNS- See Also:
-
RESOLVE_REQUEST
static final byte RESOLVE_REQUESTResolve a name from the NS- 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_REPLYReply from a registration request- See Also:
-
RESOLVE_REPLY
static final byte RESOLVE_REPLYReply 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
-
BNSMessageProtocol
private BNSMessageProtocol()Empty, private constructor. We do not create instances of this class
-