- java.lang.Object
-
- org.redkale.net.sncp.SncpClientResult
-
- 所有已实现的接口:
ClientResult
public class SncpClientResult extends Object implements ClientResult
client版响应结果详情见: https://redkale.org
- 从以下版本开始:
- 2.8.0
- 作者:
- zhangjx
-
-
构造器概要
构造器 构造器 说明 SncpClientResult()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 byte[]
getBodyContent()
int
getBodyLength()
SncpHeader
getHeader()
Serializable
getRequestid()
boolean
isKeepAlive()
protected boolean
readBody(ByteBuffer buffer)
protected boolean
readHeader(ByteBuffer buffer, int headerSize)
protected boolean
readHeader(ByteArray array, int headerSize)
protected boolean
recycle()
void
setBodyContent(byte[] bodyContent)
String
toString()
-
-
-
方法详细资料
-
recycle
protected boolean recycle()
-
readHeader
protected boolean readHeader(ByteBuffer buffer, int headerSize)
-
readHeader
protected boolean readHeader(ByteArray array, int headerSize)
-
readBody
protected boolean readBody(ByteBuffer buffer)
-
getRequestid
public Serializable getRequestid()
-
isKeepAlive
public boolean isKeepAlive()
- 指定者:
isKeepAlive
在接口中ClientResult
-
getBodyLength
public int getBodyLength()
-
getHeader
public SncpHeader getHeader()
-
getBodyContent
public byte[] getBodyContent()
-
setBodyContent
public void setBodyContent(byte[] bodyContent)
-
-