Class BNSMessage

java.lang.Object
org.jcsp.net2.bns.BNSMessage

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

    • 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
    • location

      The location of a resolves or registered barrier
    • name

      String name
      The name to register or resolve
  • Constructor Details

    • BNSMessage

      BNSMessage()