正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
| @@ -123,6 +123,8 @@ public class CIMServerHandle extends SimpleChannelInboundHandler<CIMRequestProto | @@ -123,6 +123,8 @@ public class CIMServerHandle extends SimpleChannelInboundHandler<CIMRequestProto | ||
| 123 | @Override | 123 | @Override |
| 124 | protected void channelRead0(ChannelHandlerContext ctx, CIMRequestProto.CIMReqProtocol msg) throws Exception { | 124 | protected void channelRead0(ChannelHandlerContext ctx, CIMRequestProto.CIMReqProtocol msg) throws Exception { |
| 125 | LOGGER.info("收到msg={}", msg.toString()); | 125 | LOGGER.info("收到msg={}", msg.toString()); |
| 126 | + Thread thread = Thread.currentThread(); | ||
| 127 | + LOGGER.info("正常当前线程信息={}===={}",thread.getClass(), JSON.toJSONString(thread)); | ||
| 126 | 128 | ||
| 127 | if (msg.getType() == Constants.CommandType.LOGIN) { | 129 | if (msg.getType() == Constants.CommandType.LOGIN) { |
| 128 | //保存客户端与 Channel 之间的关系 | 130 | //保存客户端与 Channel 之间的关系 |
-
请 注册 或 登录 后发表评论