正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -44,7 +44,7 @@ public class CIMClientHandle extends SimpleChannelInboundHandler<CIMResponseProt | @@ -44,7 +44,7 @@ public class CIMClientHandle extends SimpleChannelInboundHandler<CIMResponseProt | ||
| 44 | if (evt instanceof IdleStateEvent){ | 44 | if (evt instanceof IdleStateEvent){ |
| 45 | IdleStateEvent idleStateEvent = (IdleStateEvent) evt ; | 45 | IdleStateEvent idleStateEvent = (IdleStateEvent) evt ; |
| 46 | 46 | ||
| 47 | - LOGGER.info("定时检测服务端是否存活"); | 47 | + //LOGGER.info("定时检测服务端是否存活"); |
| 48 | 48 | ||
| 49 | if (idleStateEvent.state() == IdleState.WRITER_IDLE){ | 49 | if (idleStateEvent.state() == IdleState.WRITER_IDLE){ |
| 50 | CIMRequestProto.CIMReqProtocol heartBeat = SpringBeanFactory.getBean("heartBeat", | 50 | CIMRequestProto.CIMReqProtocol heartBeat = SpringBeanFactory.getBean("heartBeat", |
| @@ -84,7 +84,7 @@ public class CIMClientHandle extends SimpleChannelInboundHandler<CIMResponseProt | @@ -84,7 +84,7 @@ public class CIMClientHandle extends SimpleChannelInboundHandler<CIMResponseProt | ||
| 84 | 84 | ||
| 85 | //心跳更新时间 | 85 | //心跳更新时间 |
| 86 | if (msg.getType() == Constants.CommandType.PING){ | 86 | if (msg.getType() == Constants.CommandType.PING){ |
| 87 | - LOGGER.info("收到服务端心跳!!!"); | 87 | + //LOGGER.info("收到服务端心跳!!!"); |
| 88 | NettyAttrUtil.updateReaderTime(ctx.channel(),System.currentTimeMillis()); | 88 | NettyAttrUtil.updateReaderTime(ctx.channel(),System.currentTimeMillis()); |
| 89 | } | 89 | } |
| 90 | 90 |
-
请 注册 或 登录 后发表评论