mrsuhx
Results
2
comments of
mrsuhx
感谢作者回复,具体应该是在NettyTcpClient和NettyClientHandler这两个地方捕获到了异常,原因是客户端的onMessageResponseClient方法里有发生异常情况  
感谢作者回复 1. 是在方法channelRead0里的listener.onMessageResponseClient(msg, index)用try catch捕获一下异常吗? 2. 想请教一下NettyClientHandler中的exceptionCaught是socket连接中全局有异常就会触发吗? 3. NettyTcpClient中像我那样注释代码正确吗,会不会影响netty的断线重连机制?