- java.lang.Object
-
- org.redkale.net.client.ClientCodec<SncpClientRequest,SncpClientResult>
-
- org.redkale.net.sncp.SncpClientCodec
-
- 所有已实现的接口:
CompletionHandler<Integer,ByteBuffer>
public class SncpClientCodec extends ClientCodec<SncpClientRequest,SncpClientResult>
SncpClient编解码器详情见: https://redkale.org
- 从以下版本开始:
- 2.8.0
- 作者:
- zhangjx
-
-
字段概要
字段 修饰符和类型 字段 说明 protected static Logger
logger
-
从类继承的字段 org.redkale.net.client.ClientCodec
connection, messageListener
-
-
构造器概要
构造器 构造器 说明 SncpClientCodec(SncpClientConnection connection)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
decodeMessages(ByteBuffer realBuf, ByteArray array)
protected void
offerResult(SncpClientResult rs)
protected ByteArray
pollArray()
protected SncpClientResult
pollResult(SncpClientRequest request)
-
从类继承的方法 org.redkale.net.client.ClientCodec
addMessage, addMessage, completed, failed, findRequest, getLastMessage, getMessageListener, nextRequest, occurError, toString, withMessageListener
-
-
-
-
字段详细资料
-
logger
protected static final Logger logger
-
-
构造器详细资料
-
SncpClientCodec
public SncpClientCodec(SncpClientConnection connection)
-
-
方法详细资料
-
pollResult
protected SncpClientResult pollResult(SncpClientRequest request)
-
offerResult
protected void offerResult(SncpClientResult rs)
-
pollArray
protected ByteArray pollArray()
-
decodeMessages
public void decodeMessages(ByteBuffer realBuf, ByteArray array)
-
-