public interface IClientGCMsg
Modifier and Type | Method and Description |
---|---|
void |
deSerialize(byte[] data)
Initializes this client message by deserializing the specified data.
|
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.
|
byte[] |
serialize()
serializes this client message instance to a byte array.
|
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[] serialize() throws IOException
IOException
void deSerialize(byte[] data) throws IOException
data
- The data representing a client message.IOException
Copyright © 2012. All Rights Reserved.