Class CNSMessage
java.lang.Object
org.jcsp.net2.cns.CNSMessage
A message sent between a CNS and a CNSService. This is an internal structure to JCSP.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) NetChannelLocationLocation parameter.(package private) NetChannelLocationLocation parameter.(package private) StringName to register or resolve(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 CNSMessageProtocol -
success
boolean successWhether the previous message was successful -
location1
NetChannelLocation location1Location parameter. Usually the location to register -
location2
NetChannelLocation location2Location parameter. Usually the reply location -
name
String nameName to register or resolve
-
-
Constructor Details
-
CNSMessage
CNSMessage()
-