[fix] 优化tcp架构

This commit is contained in:
wujiawei
2024-12-13 14:29:11 +08:00
parent 41a81133f1
commit 42bc37c712
113 changed files with 3617 additions and 300 deletions

View File

@ -208,7 +208,7 @@ public class NettyClientSocket {
log.info("连接服务端成功");
// 告诉服务端这条连接是client的连接
NettyProxyMsg nettyMsg = new NettyProxyMsg();
nettyMsg.setType(MessageType.REPORT_CLIENT_CONNECT_SUCCESS);
nettyMsg.setType(MessageType.TCP_REPORT_CLIENT_CONNECT_SUCCESS);
nettyMsg.setClientId(clientId);
nettyMsg.setData((clientId).getBytes());
ChannelAttributeKeyUtils.buildClientId(channel, clientId);