Search in sources :

Example 6 with AsyncServerManager

use of org.webpieces.asyncserver.api.AsyncServerManager in project webpieces by deanhiller.

the class HttpFrontendFactory method createFrontEnd.

public static HttpFrontendManager createFrontEnd(ChannelManager chanMgr, ScheduledExecutorService timer, InjectionConfig injConfig, HttpParser parsing) {
    AsyncServerManager svrMgr = AsyncServerMgrFactory.createAsyncServer(chanMgr);
    Http2ServerEngineFactory svrEngineFactory = new Http2ServerEngineFactory(injConfig);
    return new FrontEndServerManagerImpl(svrMgr, timer, svrEngineFactory, parsing);
}
Also used : AsyncServerManager(org.webpieces.asyncserver.api.AsyncServerManager) Http2ServerEngineFactory(com.webpieces.http2engine.api.server.Http2ServerEngineFactory) FrontEndServerManagerImpl(org.webpieces.frontend2.impl.FrontEndServerManagerImpl)

Aggregations

AsyncServerManager (org.webpieces.asyncserver.api.AsyncServerManager)6 InetSocketAddress (java.net.InetSocketAddress)4 AsyncConfig (org.webpieces.asyncserver.api.AsyncConfig)4 AsyncServer (org.webpieces.asyncserver.api.AsyncServer)4 BufferCreationPool (org.webpieces.data.api.BufferCreationPool)4 ChannelManager (org.webpieces.nio.api.ChannelManager)4 ChannelManagerFactory (org.webpieces.nio.api.ChannelManagerFactory)4 Executor (java.util.concurrent.Executor)3 Channel (org.webpieces.nio.api.channels.Channel)3 TCPChannel (org.webpieces.nio.api.channels.TCPChannel)3 NamedThreadFactory (org.webpieces.util.threading.NamedThreadFactory)3 Http2ServerEngineFactory (com.webpieces.http2engine.api.server.Http2ServerEngineFactory)2 BufferPool (org.webpieces.data.api.BufferPool)2 FrontEndServerManagerImpl (org.webpieces.frontend2.impl.FrontEndServerManagerImpl)2 HpackParser (com.webpieces.hpack.api.HpackParser)1 Http2Config (com.webpieces.http2engine.api.client.Http2Config)1 InjectionConfig (com.webpieces.http2engine.api.client.InjectionConfig)1 TimeImpl (com.webpieces.util.time.TimeImpl)1 TimerTask (java.util.TimerTask)1 Test (org.junit.Test)1