T
- 编码前后的数据类型public interface MsgEncoder<T>
Modifier and Type | Method and Description |
---|---|
void |
encode(AioSession session,
ByteBuffer writeBuffer,
T data)
编码数据用于写出
|
void encode(AioSession session, ByteBuffer writeBuffer, T data)
session
- 本次需要解码的sessionwriteBuffer
- 待处理的读bufferdata
- 写出的数据Copyright © 2024. All rights reserved.