public final class PacketClientMsg extends Object implements IPacketMsg
| Modifier and Type | Field and Description |
|---|---|
private EMsg |
msgType
Gets the network message type of this packet message.
|
(package private) byte[] |
payload |
private long |
sourceJobID
Gets the source job id for this packet message.
|
private long |
targetJobID
Gets the target job id for this packet message.
|
| Constructor and Description |
|---|
PacketClientMsg(EMsg eMsg,
byte[] data)
Initializes a new instance of the
PacketClientMsg class. |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getData()
Gets the underlying data that represents this client message.
|
boolean |
isProto()
Gets a value indicating whether this packet message is protobuf backed.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMsgType, getSourceJobID, getTargetJobIDprivate final EMsg msgType
private long targetJobID
private long sourceJobID
byte[] payload
public PacketClientMsg(EMsg eMsg, byte[] data)
PacketClientMsg class.eMsg - The network message type for this packet message.data - The data.public boolean isProto()
isProto in interface IPacketMsgpublic byte[] getData()
getData in interface IPacketMsgCopyright © 2012. All Rights Reserved.