全国学渣代表  

2020年6月10日

摘要: import com.hc.hc.learnPlan.netty.nettyClientAndServerToStudy.ServerClientTOTalk; import io.netty.bootstrap.ServerBootstrap; import io.netty.channel.*; 阅读全文
posted @ 2020-06-10 20:13 全国学渣代表 阅读(153) 评论(0) 推荐(0) 编辑
 
摘要: #服务器和客户端需要进行维护,netty提供了心跳检测机制 #特殊代码标注 new LoggingHandler(LogLevel.INFO) // 日志级别添加,添加后netty会打印日志 readerIdleTime 读空闲事件 writerIdleTime写空闲时间 allIdleTime既没 阅读全文
posted @ 2020-06-10 19:15 全国学渣代表 阅读(199) 评论(0) 推荐(0) 编辑