burningtomato
Results
3
comments of
burningtomato
> Thanks for your message 我也希望这个功能做的完美,加油
> Thanks for your message private void connectServer() { synchronized (NettyTcpClient.this) { ChannelFuture channelFuture = null; if (!isConnect) { isConnecting = true; group = new NioEventLoopGroup();
group = new NioEventLoopGroup(1); 心跳包的话,一般不需要太耗性能,给一个线程慢慢的跑着就很满足了 如果设置成0,会默认跑出系统能承受的线程范围