[fix] 优化tcp、udp架构

This commit is contained in:
wujiawei
2024-12-16 18:45:17 +08:00
parent 0ceb88bfe3
commit cb4c9c0b41
53 changed files with 792 additions and 161 deletions

View File

@ -62,7 +62,7 @@ public class NettyClientHandler extends SimpleChannelInboundHandler<NettyProxyMs
// 处理客户端连接成功
Channel channel = ctx.channel();
NettyProxyMsg nettyMsg = new NettyProxyMsg();
nettyMsg.setType(MessageType.CLIENT_CHANNEL_ACTIVE);
nettyMsg.setType(MessageType.TCP_CLIENT_CHANNEL_ACTIVE);
nettyMsg.setClientId(clientId);
channelTypeAdapter.handler(channel, nettyMsg);