this.bootstrap = new ServerBootstrap(new NioServerSocketChannelFactory(this.bossPool, this.workerPool));
final ClientSocketChannelFactory clientSocketChannelFactory =
new NioClientSocketChannelFactory(this.bossPool, this.workerPool);
this.bootstrap.setOption("child.tcpNoDelay", true);
this.allChannels = new DefaultChannelGroup(this.id + "-all-channels-" + Integer.toHexString(this.hashCode()));
this.bootstrap.setPipelineFactory(new ChannelPipelineFactory() {
@Override
public ChannelPipeline getPipeline() throws Exception {
return Channels.pipeline(new TcpTunnelInboundHandler(id, allChannels, clientSocketChannelFactory,