bossExecutor = nettyServerConfig.getBossExecutor();
int bossThreadCount = nettyServerConfig.getBossThreadCount();
ioWorkerExecutor = nettyServerConfig.getWorkerExecutor();
int ioWorkerThreadCount = nettyServerConfig.getWorkerThreadCount();
channelFactory = new NioServerSocketChannelFactory(new NioServerBossPool(bossExecutor, bossThreadCount, ThreadNameDeterminer.CURRENT),
new NioWorkerPool(ioWorkerExecutor, ioWorkerThreadCount, ThreadNameDeterminer.CURRENT));
start(channelFactory);
}