public class TcpPacket extends ImPacket
Constructor and Description |
---|
TcpPacket() |
TcpPacket(byte[] body) |
TcpPacket(Command command,
byte[] body) |
Modifier and Type | Method and Description |
---|---|
byte |
getMask() |
byte |
getVersion() |
void |
setMask(byte mask) |
void |
setVersion(byte version) |
calcHeaderLength, decode4ByteLength, decodeCompress, decodeHasSynSeq, decodeVersion, encode4ByteLength, encodeCompress, encodeEncrypt, encodeHasSynSeq, getBody, getCommand, getStatus, isFromCluster, logstr, setBody, setCommand, setFromCluster, setStatus
clone, getByteCount, getId, getMeta, getPacketListener, getPreEncodedByteBuffer, getRespId, getSynSeq, isBlockSend, isSslEncrypted, setBlockSend, setByteCount, setId, setMeta, setPacketListener, setPreEncodedByteBuffer, setRespId, setSslEncrypted, setSynSeq
public TcpPacket()
public TcpPacket(Command command, byte[] body)
public TcpPacket(byte[] body)
Copyright © 2018. All rights reserved.