T
- 解码后的目标类型public interface MsgDecoder<T>
Modifier and Type | Method and Description |
---|---|
T |
decode(AioSession session,
ByteBuffer readBuffer)
对于从Socket流中获取到的数据采用当前MsgDecoder的实现类协议进行解析。
|
T decode(AioSession session, ByteBuffer readBuffer)
session
- 本次需要解码的sessionreadBuffer
- 待处理的读bufferCopyright © 2024. All rights reserved.