正在显示
1 个修改的文件
包含
0 行增加
和
2 行删除
| @@ -37,8 +37,6 @@ public class CIMClientHandle extends SimpleChannelInboundHandler<CIMResponseProt | @@ -37,8 +37,6 @@ public class CIMClientHandle extends SimpleChannelInboundHandler<CIMResponseProt | ||
| 37 | IdleStateEvent idleStateEvent = (IdleStateEvent) evt ; | 37 | IdleStateEvent idleStateEvent = (IdleStateEvent) evt ; |
| 38 | 38 | ||
| 39 | if (idleStateEvent.state() == IdleState.WRITER_IDLE){ | 39 | if (idleStateEvent.state() == IdleState.WRITER_IDLE){ |
| 40 | - //LOGGER.info("已经 10 秒没有发送信息!"); | ||
| 41 | - //向服务端发送消息 | ||
| 42 | CIMRequestProto.CIMReqProtocol heartBeat = SpringBeanFactory.getBean("heartBeat", CIMRequestProto.CIMReqProtocol.class); | 40 | CIMRequestProto.CIMReqProtocol heartBeat = SpringBeanFactory.getBean("heartBeat", CIMRequestProto.CIMReqProtocol.class); |
| 43 | ctx.writeAndFlush(heartBeat) ; | 41 | ctx.writeAndFlush(heartBeat) ; |
| 44 | } | 42 | } |
-
请 注册 或 登录 后发表评论