abstract class Message
extends java.lang.Object
implements java.io.Serializable
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.
Modifier and Type | Class and Description |
---|---|
static class |
Message.BounceMessage |
static class |
Message.PingMessage |
static class |
Message.PingReplyMessage |
Modifier and Type | Field and Description |
---|---|
(package private) long |
destIndex
The destination channel index.
|
(package private) java.lang.String |
destVCNLabel |
(package private) static Message.PingMessage |
PING_MESSAGE |
(package private) static Message.PingReplyMessage |
PING_REPLY_MESSAGE |
(package private) NodeID |
sourceID
The source computer address.
|
(package private) long |
sourceIndex
The source channel index.
|
(package private) ChannelOutput |
txReplyChannel
The channel for transmitting replies.
|
Constructor and Description |
---|
Message() |
Modifier and Type | Method and Description |
---|---|
void |
bounce(ChannelOutput txChannel) |
static final Message.PingMessage PING_MESSAGE
static final Message.PingReplyMessage PING_REPLY_MESSAGE
long destIndex
java.lang.String destVCNLabel
long sourceIndex
transient NodeID sourceID
transient ChannelOutput txReplyChannel
public final void bounce(ChannelOutput txChannel)