Class CNSMessageProtocol

java.lang.Object
org.jcsp.net2.cns.CNSMessageProtocol

final class CNSMessageProtocol extends Object
This class defines the message types that can be sent to and from the CNS. This is internal to JCSP
  • Field Details

    • LOGON_MESSAGE

      static final byte LOGON_MESSAGE
      A message sent from a CNSService to a CNS allowing logging on
      See Also:
    • LOGON_REPLY_MESSAGE

      static final byte LOGON_REPLY_MESSAGE
      The reply from a Logon
      See Also:
    • REGISTER_REQUEST

      static final byte REGISTER_REQUEST
      Register a name with the CNS
      See Also:
    • RESOLVE_REQUEST

      static final byte RESOLVE_REQUEST
      Resolve 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_REPLY
      A reply from a registration request
      See Also:
    • RESOLVE_REPLY

      static final byte RESOLVE_REPLY
      A 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.