- java.lang.Object
-
- org.redkale.net.client.ClientRequest
-
- org.redkale.net.sncp.SncpClientRequest
-
public class SncpClientRequest extends ClientRequest
client版请求详情见: https://redkale.org
- 从以下版本开始:
- 2.8.0
- 作者:
- zhangjx
-
-
字段概要
-
从类继承的字段 org.redkale.net.client.ClientRequest
createTime, EMPTY_TRACEID, traceid, workThread
-
-
构造器概要
构造器 构造器 说明 SncpClientRequest()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 byte[]
getBodyContent()
SncpHeader
getHeader()
Serializable
getRequestid()
long
getSeqid()
protected void
prepare()
SncpClientRequest
prepare(SncpHeader header, long seqid, String traceid, byte[] bodyContent)
protected boolean
recycle()
String
toString()
void
writeTo(ClientConnection conn, ByteArray array)
-
从类继承的方法 org.redkale.net.client.ClientRequest
getCreateTime, getTraceid, isCloseType, isCompleted, isVirtualType, traceBytes, traceid, workThread
-
-
-
-
方法详细资料
-
prepare
public SncpClientRequest prepare(SncpHeader header, long seqid, String traceid, byte[] bodyContent)
-
prepare
protected void prepare()
- 覆盖:
prepare
在类中ClientRequest
-
recycle
protected boolean recycle()
- 覆盖:
recycle
在类中ClientRequest
-
getRequestid
public Serializable getRequestid()
- 覆盖:
getRequestid
在类中ClientRequest
-
writeTo
public void writeTo(ClientConnection conn, ByteArray array)
- 指定者:
writeTo
在类中ClientRequest
-
getHeader
public SncpHeader getHeader()
-
getSeqid
public long getSeqid()
-
getBodyContent
public byte[] getBodyContent()
-
-