Class CNSMessageProtocol


  • final class CNSMessageProtocol
    extends java.lang.Object
    This 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 byte DEREGISTER_REPLY
      *** Not currently used ***
      (package private) static byte DEREGISTER_REQUEST
      *** Not currently used ***
      (package private) static byte LEASE_REPLY
      *** Not currently used ***
      (package private) static byte LEASE_REQUEST
      *** Not currently used ***
      (package private) static byte LOGON_MESSAGE
      A message sent from a CNSService to a CNS allowing logging on
      (package private) static byte LOGON_REPLY_MESSAGE
      The reply from a Logon
      (package private) static byte REGISTER_REPLY
      A reply from a registration request
      (package private) static byte REGISTER_REQUEST
      Register a name with the CNS
      (package private) static byte RESOLVE_REPLY
      A reply from a resolve request
      (package private) static byte RESOLVE_REQUEST
      Resolve a location from the CNS
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private CNSMessageProtocol()
      Empty, private constructor.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOGON_MESSAGE

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

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

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

        static final byte RESOLVE_REQUEST
        Resolve a location from the CNS
        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
        A reply from a registration request
        See Also:
        Constant Field Values
      • RESOLVE_REPLY

        static final byte RESOLVE_REPLY
        A reply from a resolve request
        See Also:
        Constant Field Values
      • DEREGISTER_REPLY

        static final byte DEREGISTER_REPLY
        *** Not currently used ***
        See Also:
        Constant Field Values
    • Constructor Detail

      • CNSMessageProtocol

        private CNSMessageProtocol()
        Empty, private constructor. We do not create instances of this class.