Class CNSMessage


  • final class CNSMessage
    extends java.lang.Object
    A message sent between a CNS and a CNSService. This is an internal structure to JCSP.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) NetChannelLocation location1
      Location parameter.
      (package private) NetChannelLocation location2
      Location parameter.
      (package private) java.lang.String name
      Name to register or resolve
      (package private) boolean success
      Whether the previous message was successful
      (package private) byte type
      The message type.
    • Constructor Summary

      Constructors 
      Constructor Description
      CNSMessage()  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • type

        byte type
        The message type. See CNSMessageProtocol
      • success

        boolean success
        Whether the previous message was successful
      • location1

        NetChannelLocation location1
        Location parameter. Usually the location to register
      • name

        java.lang.String name
        Name to register or resolve
    • Constructor Detail

      • CNSMessage

        CNSMessage()