decoder, numBossThreads);
ThreadPoolExecutor bossPool = new ThreadPoolExecutor(
numBossThreads, numBossThreads, 60, TimeUnit.SECONDS,
new LinkedBlockingQueue<Runnable>(),
new DescriptiveThreadFactory("Boss-Thread"));
ThreadPoolExecutor workerPool = new ThreadPoolExecutor(
numWorkerThreads, numWorkerThreads, 60, TimeUnit.SECONDS,
new LinkedBlockingQueue<Runnable>(),
new DescriptiveThreadFactory("Worker-Thread"));
ChannelFactory nioServer = new NioServerSocketChannelFactory(
bossPool, workerPool, numWorkerThreads);
ServerBootstrap serverBootstrap = new ServerBootstrap(nioServer);