public interface IPacketGCMsg
IClientGCMsg
in that this interface is packet body agnostic
and only allows simple access into the header. This interface is also immutable, and the underlying
data cannot be modified.Modifier and Type | Method and Description |
---|---|
byte[] |
getData()
Gets the underlying data that represents this client message.
|
int |
getMsgType()
The message type.
|
JobID |
getSourceJobID()
The source job id.
|
JobID |
getTargetJobID()
The target job id.
|
boolean |
isProto()
true if this instance is protobuf backed; otherwise, false.
|
void |
setSourceJobID(JobID JobID) |
void |
setTargetJobID(JobID JobID) |
boolean isProto()
int getMsgType()
JobID getTargetJobID()
void setTargetJobID(JobID JobID)
JobID getSourceJobID()
void setSourceJobID(JobID JobID)
byte[] getData()
Copyright © 2012. All Rights Reserved.