Class BNSMessage


  • final class BNSMessage
    extends java.lang.Object
    A message sent between a BNS and a BNSService. This is an internal structure to JCSP
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) NetBarrierLocation location
      The location of a resolves or registered barrier
      (package private) java.lang.String name
      The name to register or resolve
      (package private) NetChannelLocation serviceLocation
      The location that the BNS must reply to
      (package private) boolean success
      Whether the previous message was successful
      (package private) byte type
      The message type.
    • Constructor Summary

      Constructors 
      Constructor Description
      BNSMessage()  
    • 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 BNSMessageProtocol
      • success

        boolean success
        Whether the previous message was successful
      • serviceLocation

        NetChannelLocation serviceLocation
        The location that the BNS must reply to
      • name

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

      • BNSMessage

        BNSMessage()