public class Packet extends Object implements Serializable, Cloneable
| 限定符和类型 | 类和说明 |
|---|---|
static class |
Packet.Meta |
| 限定符和类型 | 字段和说明 |
|---|---|
protected boolean |
keepedConnection |
| 构造器和说明 |
|---|
Packet() |
| 限定符和类型 | 方法和说明 |
|---|---|
Packet |
clone() |
int |
getByteCount() |
Long |
getId() |
Packet.Meta |
getMeta() |
ByteBuffer |
getPreEncodedByteBuffer() |
Long |
getRespId() |
Integer |
getSynSeq() |
boolean |
isBlockSend() |
boolean |
isFromCluster() |
boolean |
isKeepedConnection() |
boolean |
isSslEncrypted() |
String |
logstr() |
void |
setBlockSend(boolean isBlockSend) |
void |
setByteCount(int byteCount) |
void |
setFromCluster(boolean isFromCluster) |
void |
setId(Long id) |
void |
setKeepedConnectin(boolean keepedConnection) |
void |
setMeta(Packet.Meta meta) |
void |
setPreEncodedByteBuffer(ByteBuffer preEncodedByteBuffer) |
void |
setRespId(Long respId) |
void |
setSslEncrypted(boolean isSslEncrypted) |
void |
setSynSeq(Integer synSeq) |
public void setKeepedConnectin(boolean keepedConnection)
public boolean isKeepedConnection()
public int getByteCount()
public Long getId()
public ByteBuffer getPreEncodedByteBuffer()
public Long getRespId()
public Integer getSynSeq()
public boolean isBlockSend()
public String logstr()
public void setBlockSend(boolean isBlockSend)
isBlockSend - the isBlockSend to setpublic void setByteCount(int byteCount)
byteCount - the byteCount to setpublic void setId(Long id)
id - the id to setpublic void setPreEncodedByteBuffer(ByteBuffer preEncodedByteBuffer)
preEncodedByteBuffer - the preEncodedByteBuffer to setpublic void setRespId(Long respId)
respId - the respId to setpublic void setSynSeq(Integer synSeq)
synSeq - the synSeq to setpublic boolean isFromCluster()
public void setFromCluster(boolean isFromCluster)
public boolean isSslEncrypted()
public void setSslEncrypted(boolean isSslEncrypted)
public Packet.Meta getMeta()
public void setMeta(Packet.Meta meta)
Copyright © 2024. All rights reserved.