public interface IClientMsg
Modifier and Type | Method and Description |
---|---|
void |
deSerialize(byte[] data)
Initializes this client message by deserializing the specified data.
|
EMsg |
getMsgType()
The message type.
|
int |
getSessionID()
The session id.
|
JobID |
getSourceJobID()
The source job id.
|
SteamID |
getSteamID()
The
SteamID |
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 |
setSessionID(int sessionID) |
void |
setSourceJobID(JobID JobID) |
void |
setSteamID(SteamID SteamID) |
void |
setTargetJobID(JobID JobID) |
boolean isProto()
EMsg getMsgType()
int getSessionID()
void setSessionID(int sessionID)
void setSteamID(SteamID SteamID)
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.