Package org.jcsp.net2.bns
Class BNSMessage
java.lang.Object
org.jcsp.net2.bns.BNSMessage
A message sent between a BNS and a BNSService. This is an internal structure to JCSP
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) NetBarrierLocationThe location of a resolves or registered barrier(package private) StringThe name to register or resolve(package private) NetChannelLocationThe location that the BNS must reply to(package private) booleanWhether the previous message was successful(package private) byteThe message type. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
type
byte typeThe message type. See BNSMessageProtocol -
success
boolean successWhether the previous message was successful -
serviceLocation
NetChannelLocation serviceLocationThe location that the BNS must reply to -
location
NetBarrierLocation locationThe location of a resolves or registered barrier -
name
String nameThe name to register or resolve
-
-
Constructor Details
-
BNSMessage
BNSMessage()
-