public final class PacketClientGCMsgProtobuf extends Object implements IPacketGCMsg
| Modifier and Type | Field and Description |
|---|---|
private int |
msgType
Gets the network message type of this packet message.
|
(package private) byte[] |
payload |
private JobID |
sourceJobID
Gets the source job id for this packet message.
|
private JobID |
targetJobID
Gets the target job id for this packet message.
|
| Constructor and Description |
|---|
PacketClientGCMsgProtobuf(int eMsg,
byte[] data)
Initializes a new instance of the
PacketClientGCMsgProtobuf 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, getTargetJobID, setSourceJobID, setTargetJobIDprivate final int msgType
private JobID targetJobID
private JobID sourceJobID
byte[] payload
public PacketClientGCMsgProtobuf(int eMsg,
byte[] data)
PacketClientGCMsgProtobuf class.eMsg - The network message type for this packet message.data - The data.public boolean isProto()
isProto in interface IPacketGCMsgpublic byte[] getData()
getData in interface IPacketGCMsgCopyright © 2012. All Rights Reserved.