});
netChannel = (NettyNetChannel<IN, OUT>) select(ch);
inboundHandler.setNetChannel(netChannel);
ch.pipeline().addLast(new ChannelOutboundHandlerAdapter() {
@Override
public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) throws Exception {
super.write(ctx, msg, promise);
}
});