use of org.webpieces.asyncserver.api.AsyncServer in project webpieces by deanhiller.
the class FrontEndServerManagerImpl method createHttpServer.
@Override
public HttpServer createHttpServer(FrontendConfig config, StreamListener httpListener) {
preconditionCheck(config);
Layer1ServerListener listener = buildDatalListener(httpListener, false);
AsyncServer tcpServer = svrManager.createTcpServer(config.asyncServerConfig, listener);
HttpServerImpl frontend = new HttpServerImpl(tcpServer, config, listener);
return frontend;
}
Aggregations