使用ChannelHandlerContext

This commit is contained in:
Guoqs
2024-08-01 11:51:27 +08:00
parent 3ac1d5752c
commit 0ad35c9300
3 changed files with 7 additions and 5 deletions

View File

@@ -26,7 +26,7 @@ public abstract class AbstractHandler implements InitializingBean {
* 执行逻辑
* 有应答
*/
public byte[] supplyProcess(YKCDataProtocol ykcDataProtocol, Channel channel) {
public byte[] supplyProcess(YKCDataProtocol ykcDataProtocol, ChannelHandlerContext ctx) {
throw new UnsupportedOperationException();
}