final class NetworkMessage
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) int |
attr1
The first attribute of the message.
|
(package private) int |
attr2
The second attribute of the message
|
(package private) byte[] |
data
Data sent in the message if relevant.
|
(package private) ChannelOutput |
toLink
ChannelOutput to the Link so that acknowledgements can be sent.
|
(package private) byte |
type
The message type, as described in NetworkProtocol.
|
Constructor and Description |
---|
NetworkMessage() |
byte type
int attr1
int attr2
byte[] data
ChannelOutput toLink