全国学渣代表 |
|
||
2020年6月10日
摘要:
import com.hc.hc.learnPlan.netty.nettyClientAndServerToStudy.ServerClientTOTalk; import io.netty.bootstrap.ServerBootstrap; import io.netty.channel.*; 阅读全文
摘要:
#服务器和客户端需要进行维护,netty提供了心跳检测机制 #特殊代码标注 new LoggingHandler(LogLevel.INFO) // 日志级别添加,添加后netty会打印日志 readerIdleTime 读空闲事件 writerIdleTime写空闲时间 allIdleTime既没 阅读全文
|
Copyright © 2024 全国学渣代表
Powered by .NET 8.0 on Kubernetes |