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) NetBarrierLocation
The location of a resolves or registered barrier(package private) String
The name to register or resolve(package private) NetChannelLocation
The location that the BNS must reply to(package private) boolean
Whether the previous message was successful(package private) byte
The 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()
-