示例#1
0
 @Override
 public void channelInactive(ChannelHandlerContext ctx) throws Exception {
   slave.onChannelInactive(ctx);
 }
示例#2
0
 @Override
 public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception {
   slave.onExceptionCaught(ctx, cause);
 }
示例#3
0
 @Override
 protected void channelRead0(ChannelHandlerContext ctx, ModbusTcpPayload msg) throws Exception {
   slave.onChannelRead(ctx, msg);
 }