public class WebDispatcher<S> extends Object implements NioAcceptorHandler.ClientFactory
| Constructor and Description | 
|---|
| WebDispatcher(org.jetlang.fibers.NioFiber readFiber,
             HttpRequestHandler<S> handler,
             int readBufferSizeInBytes,
             int maxReadLoops,
             SessionFactory<S> factory,
             SessionDispatcherFactory<S> dispatcherFact) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected org.jetlang.fibers.NioChannelHandler | createHandler(SelectionKey key,
             SocketChannel channel,
             org.jetlang.fibers.NioFiber fiber,
             org.jetlang.fibers.NioControls controls) | 
| void | onAccept(org.jetlang.fibers.NioFiber acceptorFiber,
        org.jetlang.fibers.NioControls acceptorControls,
        SelectionKey key,
        SocketChannel channel) | 
public WebDispatcher(org.jetlang.fibers.NioFiber readFiber,
                     HttpRequestHandler<S> handler,
                     int readBufferSizeInBytes,
                     int maxReadLoops,
                     SessionFactory<S> factory,
                     SessionDispatcherFactory<S> dispatcherFact)
public void onAccept(org.jetlang.fibers.NioFiber acceptorFiber,
                     org.jetlang.fibers.NioControls acceptorControls,
                     SelectionKey key,
                     SocketChannel channel)
onAccept in interface NioAcceptorHandler.ClientFactoryprotected org.jetlang.fibers.NioChannelHandler createHandler(SelectionKey key, SocketChannel channel, org.jetlang.fibers.NioFiber fiber, org.jetlang.fibers.NioControls controls)
Copyright © 2016. All Rights Reserved.