예제 #1
0
 @Override
 public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise)
     throws Exception {
   System.out.println("write2");
   //          ReferenceCountUtil.release(msg);
   super.write(ctx, msg, promise);
 }
예제 #2
0
 @Override
 public void connect(
     ChannelHandlerContext ctx,
     SocketAddress remoteAddress,
     SocketAddress localAddress,
     ChannelPromise promise)
     throws Exception {
   System.out.println("connected");
   super.connect(ctx, remoteAddress, localAddress, promise);
 }
예제 #3
0
 @Override
 public void bind(ChannelHandlerContext ctx, SocketAddress localAddress, ChannelPromise promise)
     throws Exception {
   System.out.println("bind evernt");
   super.bind(ctx, localAddress, promise);
 }