Package org.jcsp.net2.bns
Class BNSMessage
- java.lang.Object
-
- org.jcsp.net2.bns.BNSMessage
-
final class BNSMessage extends java.lang.ObjectA 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) NetBarrierLocationlocationThe location of a resolves or registered barrier(package private) java.lang.StringnameThe name to register or resolve(package private) NetChannelLocationserviceLocationThe location that the BNS must reply to(package private) booleansuccessWhether the previous message was successful(package private) bytetypeThe 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
-
-