RpcBinaryPackage

Undocumented in source.

Constructors

this
this(RPC_PACKAGE_PROTOCOL tpp, ulong msgId, RPC_PACKAGE_COMPRESS_TYPE compressType, bool isNonblock, size_t funcId)
Undocumented in source.

Members

Functions

checkHanderValid
bool checkHanderValid()
Undocumented in source. Be warned that the author may not have intended to support it.
fromStream
bool fromStream(ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
fromStreamForHander
bool fromStreamForHander(ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
fromStreamForPayload
bool fromStreamForPayload(ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
getBodySize
ulong getBodySize()
Undocumented in source. Be warned that the author may not have intended to support it.
getCompressType
RPC_PACKAGE_COMPRESS_TYPE getCompressType()
Undocumented in source. Be warned that the author may not have intended to support it.
getFuncId
size_t getFuncId()
Undocumented in source. Be warned that the author may not have intended to support it.
getHB
bool getHB()
Undocumented in source. Be warned that the author may not have intended to support it.
getHanderSize
int getHanderSize()
Undocumented in source. Be warned that the author may not have intended to support it.
getHead
ubyte[] getHead()
Undocumented in source. Be warned that the author may not have intended to support it.
getNonblock
bool getNonblock()
Undocumented in source. Be warned that the author may not have intended to support it.
getOW
bool getOW()
Undocumented in source. Be warned that the author may not have intended to support it.
getPackgeSize
int getPackgeSize()
Undocumented in source. Be warned that the author may not have intended to support it.
getPayload
ubyte[] getPayload()
Undocumented in source. Be warned that the author may not have intended to support it.
getRP
bool getRP()
Undocumented in source. Be warned that the author may not have intended to support it.
getSequenceId
ulong getSequenceId()
Undocumented in source. Be warned that the author may not have intended to support it.
getSerializedType
short getSerializedType()
Undocumented in source. Be warned that the author may not have intended to support it.
getStartHanderLength
int getStartHanderLength()
Undocumented in source. Be warned that the author may not have intended to support it.
getStatusCode
short getStatusCode()
Undocumented in source. Be warned that the author may not have intended to support it.
getVersion
short getVersion()
Undocumented in source. Be warned that the author may not have intended to support it.
isCompress
bool isCompress()
Undocumented in source. Be warned that the author may not have intended to support it.
readBinaryPos
ulong readBinaryPos(ubyte[] data, T t, ulong pos)
Undocumented in source. Be warned that the author may not have intended to support it.
readBytePos
ulong readBytePos(ubyte[] data, ubyte abyte, ulong pos)
Undocumented in source. Be warned that the author may not have intended to support it.
readBytesPos
ulong readBytesPos(ubyte[] data, ubyte[] bytes, ulong pos)
Undocumented in source. Be warned that the author may not have intended to support it.
setFuncId
void setFuncId(size_t id)
Undocumented in source. Be warned that the author may not have intended to support it.
setHBPackage
void setHBPackage()
Undocumented in source. Be warned that the author may not have intended to support it.
setOWPackage
void setOWPackage()
Undocumented in source. Be warned that the author may not have intended to support it.
setRP
void setRP()
Undocumented in source. Be warned that the author may not have intended to support it.
setStatusCode
void setStatusCode(RPC_PACKAGE_STATUS_CODE code)
Undocumented in source. Be warned that the author may not have intended to support it.
toStream
ubyte[] toStream(ubyte[] payload)
Undocumented in source. Be warned that the author may not have intended to support it.
writeBinaryPos
ulong writeBinaryPos(ubyte[] data, T t, ulong pos)
Undocumented in source. Be warned that the author may not have intended to support it.
writeBytePos
ulong writeBytePos(ubyte[] data, ubyte abyte, ulong pos)
Undocumented in source. Be warned that the author may not have intended to support it.
writeBytesPos
ulong writeBytesPos(ubyte[] data, ubyte[] bytes, ulong pos)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta