*/
ServletEngineImpl(FilterChain dispatcher, ServletEngineConfiguration config)
throws IOException, InterruptedException {
NetSelector selector = new NetSelector();
DispatchQueue queue = new DispatchQueueImpl(config.getMaxThreads());
HttpRequestHandler handler = new HttpRequestHandlerAdapter(dispatcher);
server_ = new HttpServer(selector, queue, handler, config);
server_.getSelector().listen(config.getPort(), server_, false);
}