Package org.jcsp.net
Class Message
java.lang.Object
org.jcsp.net.Message
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ChannelMessage
,ConnectionMessage
,Message.BounceMessage
,Message.PingMessage
,Message.PingReplyMessage
,SerializedMessage
Message to be transmitted. This is an abstract class containing only header information - you must subclass it to use it.
This is a package-private implementation class.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) long
The destination channel index.(package private) String
(package private) static final Message.PingMessage
(package private) static final Message.PingReplyMessage
(package private) NodeID
The source computer address.(package private) long
The source channel index.(package private) ChannelOutput
The channel for transmitting replies. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
PING_MESSAGE
-
PING_REPLY_MESSAGE
-
destIndex
long destIndexThe destination channel index. -
destVCNLabel
String destVCNLabel -
sourceIndex
long sourceIndexThe source channel index. -
sourceID
The source computer address. This is not transmitted, instead, it is filled in automatically by the demux on arrival. (Indeed, it is not usually even filled in at the sending end). -
txReplyChannel
The channel for transmitting replies. It doesn't make sense to transmit this value (or even to bother to fill it in at the transmitting end), so it is filled in automatically by the demux on arrival.
-
-
Constructor Details
-
Message
public Message()
-
-
Method Details
-
bounce
-