예제 #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);
 }