Package org.jcsp.net2.bns
Class BNSMessage
- java.lang.Object
-
- org.jcsp.net2.bns.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()
-
-
-
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
-
location
NetBarrierLocation location
The location of a resolves or registered barrier
-
name
java.lang.String name
The name to register or resolve
-
-