public class Packet extends Object implements Serializable, Cloneable
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
keepConnection |
| Constructor and Description |
|---|
Packet() |
| Modifier and Type | Method and Description |
|---|---|
Packet |
clone() |
int |
getByteCount() |
File |
getFileBody() |
Long |
getId() |
PacketMeta |
getMeta() |
ByteBuffer |
getPreEncodedByteBuffer() |
Long |
getRespId() |
Integer |
getSynSeq() |
boolean |
isBlockSend() |
boolean |
isFromCluster() |
boolean |
isKeepConnection() |
boolean |
isSslEncrypted() |
String |
logstr() |
void |
setBlockSend(boolean isBlockSend) |
void |
setByteCount(int byteCount) |
void |
setFileBody(File fileBody) |
void |
setFromCluster(boolean isFromCluster) |
void |
setId(Long id) |
void |
setKeepConnection(boolean keepedConnection) |
void |
setMeta(PacketMeta meta) |
void |
setPreEncodedByteBuffer(ByteBuffer preEncodedByteBuffer) |
void |
setRespId(Long respId) |
void |
setSslEncrypted(boolean isSslEncrypted) |
void |
setSynSeq(Integer synSeq) |
public void setKeepConnection(boolean keepedConnection)
public boolean isKeepConnection()
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)
public void setByteCount(int byteCount)
public void setId(Long id)
public void setPreEncodedByteBuffer(ByteBuffer preEncodedByteBuffer)
public void setRespId(Long respId)
public void setSynSeq(Integer synSeq)
public boolean isFromCluster()
public void setFromCluster(boolean isFromCluster)
public boolean isSslEncrypted()
public void setSslEncrypted(boolean isSslEncrypted)
public PacketMeta getMeta()
public void setMeta(PacketMeta meta)
public File getFileBody()
public void setFileBody(File fileBody)
Copyright © 2025. All rights reserved.