Package org.jcsp.net2.bns
Class BNSMessageProtocol
- java.lang.Object
-
- org.jcsp.net2.bns.BNSMessageProtocol
-
final class BNSMessageProtocol extends java.lang.ObjectThis class defines the message types that can be sent to and from the CNS. This is internal to JCSP
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static byteDEREGISTER_REPLY*** Not currently used ***(package private) static byteDEREGISTER_REQUEST*** Not currently used ***(package private) static byteLEASE_REPLY*** Not currently used ***(package private) static byteLEASE_REQUEST*** Not currently used ***(package private) static byteLOGON_MESSAGEA message sent from a BNSService to a BNS to log on(package private) static byteLOGON_REPLY_MESSAGEReply from server after a log on(package private) static byteREGISTER_REPLYReply from a registration request(package private) static byteREGISTER_REQUESTRegister a name with the BNS(package private) static byteRESOLVE_REPLYReply from a resolve request(package private) static byteRESOLVE_REQUESTResolve a name from the NS
-
Constructor Summary
Constructors Modifier Constructor Description privateBNSMessageProtocol()Empty, private constructor.
-
-
-
Field Detail
-
LOGON_MESSAGE
static final byte LOGON_MESSAGE
A message sent from a BNSService to a BNS to log on- See Also:
- Constant Field Values
-
LOGON_REPLY_MESSAGE
static final byte LOGON_REPLY_MESSAGE
Reply from server after a log on- See Also:
- Constant Field Values
-
REGISTER_REQUEST
static final byte REGISTER_REQUEST
Register a name with the BNS- See Also:
- Constant Field Values
-
RESOLVE_REQUEST
static final byte RESOLVE_REQUEST
Resolve a name from the NS- See Also:
- Constant Field Values
-
LEASE_REQUEST
static final byte LEASE_REQUEST
*** Not currently used ***- See Also:
- Constant Field Values
-
DEREGISTER_REQUEST
static final byte DEREGISTER_REQUEST
*** Not currently used ***- See Also:
- Constant Field Values
-
REGISTER_REPLY
static final byte REGISTER_REPLY
Reply from a registration request- See Also:
- Constant Field Values
-
RESOLVE_REPLY
static final byte RESOLVE_REPLY
Reply from a resolve request- See Also:
- Constant Field Values
-
LEASE_REPLY
static final byte LEASE_REPLY
*** Not currently used ***- See Also:
- Constant Field Values
-
DEREGISTER_REPLY
static final byte DEREGISTER_REPLY
*** Not currently used ***- See Also:
- Constant Field Values
-
-