public class ProtocolMessage extends Object
| Constructor and Description |
|---|
ProtocolMessage() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBulkData() |
int |
getCorrID() |
byte[] |
getData() |
int |
getFunctionID() |
int |
getJsonSize() |
MessageType |
getMessageType() |
boolean |
getPayloadProtected() |
int |
getPrioirtyCoefficient()
Deprecated.
|
int |
getPriorityCoefficient() |
byte |
getRPCType() |
byte |
getSessionID() |
SessionType |
getSessionType() |
byte |
getVersion() |
void |
setBulkData(byte[] bulkData) |
void |
setBulkData(byte[] bulkData,
int length) |
void |
setBulkDataNoCopy(byte[] bulkData) |
void |
setCorrID(int _correlationID) |
void |
setData(byte[] data) |
void |
setData(byte[] data,
int length) |
void |
setData(byte[] data,
int offset,
int length) |
void |
setFunctionID(int _functionID) |
void |
setJsonSize(int _jsonSize) |
void |
setMessageType(MessageType messageType) |
void |
setPayloadProtected(boolean bVal) |
void |
setPriorityCoefficient(int priority)
Set the priority for this packet.
|
void |
setRPCType(byte _rpcType) |
void |
setSessionID(byte sessionID) |
void |
setSessionType(SessionType sessionType) |
void |
setVersion(byte version) |
public byte getVersion()
public void setVersion(byte version)
public byte getSessionID()
public void setSessionID(byte sessionID)
public byte[] getData()
public void setData(byte[] data)
public void setData(byte[] data,
int length)
public void setData(byte[] data,
int offset,
int length)
public byte[] getBulkData()
public void setBulkDataNoCopy(byte[] bulkData)
public void setBulkData(byte[] bulkData)
public void setBulkData(byte[] bulkData,
int length)
public SessionType getSessionType()
public void setSessionType(SessionType sessionType)
public MessageType getMessageType()
public void setMessageType(MessageType messageType)
public byte getRPCType()
public void setRPCType(byte _rpcType)
public int getFunctionID()
public void setFunctionID(int _functionID)
public int getCorrID()
public void setCorrID(int _correlationID)
public int getJsonSize()
public void setJsonSize(int _jsonSize)
public void setPayloadProtected(boolean bVal)
public boolean getPayloadProtected()
public void setPriorityCoefficient(int priority)
priority - the priority of this message@Deprecated public int getPrioirtyCoefficient()
public int getPriorityCoefficient()