We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
非常感谢您提供这个开源代码,对我很有帮助。
如果加入自定义编解码,我自定义的编解码器应该放在哪里呢,目前看来似乎是要在TestServer的handleReceive中对收到的Bytebuf消息进行编解码处理。 这样以来就没办法利用pipline()来进行消息流处理。 /ch.pipeline().addLast(new UdpMessageDecoder()); // 消息加解密:消息ID(4字节)/
不知道我又没有把问题描述清楚,感谢!
The text was updated successfully, but these errors were encountered:
不行,目前的结构是要求你自己在handleReceive里面处理已经按照kcp协议分好的包。业务层的协议需要你在这里继续处理。
Sorry, something went wrong.
No branches or pull requests
非常感谢您提供这个开源代码,对我很有帮助。
如果加入自定义编解码,我自定义的编解码器应该放在哪里呢,目前看来似乎是要在TestServer的handleReceive中对收到的Bytebuf消息进行编解码处理。
这样以来就没办法利用pipline()来进行消息流处理。
/ch.pipeline().addLast(new UdpMessageDecoder()); // 消息加解密:消息ID(4字节)/
不知道我又没有把问题描述清楚,感谢!
The text was updated successfully, but these errors were encountered: