作者 crossoverJie

:white_check_mark: Adding tests.

@@ -44,6 +44,10 @@ public class HeartBeatSimpleHandle extends SimpleChannelInboundHandler<CustomPro @@ -44,6 +44,10 @@ public class HeartBeatSimpleHandle extends SimpleChannelInboundHandler<CustomPro
44 } 44 }
45 45
46 @Override 46 @Override
  47 + public void channelActive(ChannelHandlerContext ctx) throws Exception {
  48 + }
  49 +
  50 + @Override
47 protected void channelRead0(ChannelHandlerContext ctx, CustomProtocol customProtocol) throws Exception { 51 protected void channelRead0(ChannelHandlerContext ctx, CustomProtocol customProtocol) throws Exception {
48 LOGGER.info("customProtocol={}", customProtocol); 52 LOGGER.info("customProtocol={}", customProtocol);
49 53