public interface NetDataProcesser
| 限定符和类型 | 方法和说明 |
|---|---|
int |
initProcesser() |
boolean |
process(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf byteBuf,
UserConfig userConfig,
DRCNetConfig drcnetConfig,
CacheBuff buffer,
SyncState sync,
Connection conn) |
int initProcesser()
boolean process(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf byteBuf,
UserConfig userConfig,
DRCNetConfig drcnetConfig,
CacheBuff buffer,
SyncState sync,
Connection conn)
throws Exception
ctx - netty上下文byteBuf - netty的发送和接受bufferuserConfig - 用户要发送的配置drcnetConfig - drcnet内部的配置buffer - 用户接受数据的缓冲区sync - 交互协议的状态conn - 连接信息ExceptionCopyright © 2017. All Rights Reserved.