Package org.jcsp.net2.cns
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) NetChannelLocation
Location parameter.(package private) NetChannelLocation
Location parameter.(package private) String
Name to register or resolve(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 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()
-