你好我问下,每次收到服务器的消息后都会断开重连,不知道是真断了还是状态判断问题
05-07 16:35:10.297 2820-2873/com.box.niu.boxes I/LoggingHandler: [id: 0x1b57890f, L:/10.0.2.15:39562 - R:/119.23.138.149:28899] FLUSH
05-07 16:35:10.298 2820-2873/com.box.niu.boxes D/NettyService: Write auth successful
05-07 16:35:10.344 2820-2873/com.box.niu.boxes I/LoggingHandler: [id: 0x1b57890f, L:/10.0.2.15:39562 - R:/119.23.138.149:28899] RECEIVED: 16B
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 01 00 00 00 bf 0f f0 5a 15 cd 5b 07 f9 2a 02 00 |.......Z..[..*..|
+--------+-------------------------------------------------+----------------+
05-07 16:35:10.345 2820-2873/com.box.niu.boxes E/NettyClientHandler: 读取发过来的消息
05-07 16:35:10.348 2820-2873/com.box.niu.boxes I/LoggingHandler: [id: 0x1b57890f, L:/10.0.2.15:39562 ! R:/119.23.138.149:28899] INACTIVE
05-07 16:35:10.348 2820-2873/com.box.niu.boxes E/NettyClientHandler: 连接失败 需要重连
05-07 16:35:10.349 2820-2873/com.box.niu.boxes D/NettyService: connect status:0
05-07 16:35:10.349 2820-2873/com.box.niu.boxes I/LoggingHandler: [id: 0x1b57890f, L:/10.0.2.15:39562 ! R:/119.23.138.149:28899] UNREGISTERED
你好我问下,每次收到服务器的消息后都会断开重连,不知道是真断了还是状态判断问题
05-07 16:35:10.297 2820-2873/com.box.niu.boxes I/LoggingHandler: [id: 0x1b57890f, L:/10.0.2.15:39562 - R:/119.23.138.149:28899] FLUSH
05-07 16:35:10.298 2820-2873/com.box.niu.boxes D/NettyService: Write auth successful
05-07 16:35:10.344 2820-2873/com.box.niu.boxes I/LoggingHandler: [id: 0x1b57890f, L:/10.0.2.15:39562 - R:/119.23.138.149:28899] RECEIVED: 16B
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 01 00 00 00 bf 0f f0 5a 15 cd 5b 07 f9 2a 02 00 |.......Z..[..*..|
+--------+-------------------------------------------------+----------------+
05-07 16:35:10.345 2820-2873/com.box.niu.boxes E/NettyClientHandler: 读取发过来的消息
05-07 16:35:10.348 2820-2873/com.box.niu.boxes I/LoggingHandler: [id: 0x1b57890f, L:/10.0.2.15:39562 ! R:/119.23.138.149:28899] INACTIVE
05-07 16:35:10.348 2820-2873/com.box.niu.boxes E/NettyClientHandler: 连接失败 需要重连
05-07 16:35:10.349 2820-2873/com.box.niu.boxes D/NettyService: connect status:0
05-07 16:35:10.349 2820-2873/com.box.niu.boxes I/LoggingHandler: [id: 0x1b57890f, L:/10.0.2.15:39562 ! R:/119.23.138.149:28899] UNREGISTERED