protected class ConnectHandler.ConnectManager extends SelectorManager
SelectorManager.ManagedSelector, SelectorManager.SelectableEndPointAbstractLifeCycle.AbstractLifeCycleListenerLifeCycle.ListenerDEFAULT_CONNECT_TIMEOUT, LOG, SUBMIT_KEY_UPDATES| Modifier | Constructor and Description |
|---|---|
protected |
ConnectHandler.ConnectManager(Executor executor,
Scheduler scheduler,
int selectors) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
connectionFailed(SocketChannel channel,
Throwable ex,
Object attachment) |
Connection |
newConnection(SocketChannel channel,
EndPoint endpoint,
Object attachment) |
protected EndPoint |
newEndPoint(SocketChannel channel,
SelectorManager.ManagedSelector selector,
SelectionKey selectionKey) |
accept, accept, accepted, acceptor, connect, connectionClosed, connectionOpened, doStart, doStop, dump, dump, endPointClosed, endPointOpened, execute, finishConnect, getConnectTimeout, getExecutor, getScheduler, getSelectorCount, getSelectorPriorityDelta, newSelector, setConnectTimeout, setSelectorPriorityDeltaaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stopprotected EndPoint newEndPoint(SocketChannel channel, SelectorManager.ManagedSelector selector, SelectionKey selectionKey) throws IOException
newEndPoint in class SelectorManagerIOExceptionpublic Connection newConnection(SocketChannel channel, EndPoint endpoint, Object attachment) throws IOException
newConnection in class SelectorManagerIOExceptionprotected void connectionFailed(SocketChannel channel, Throwable ex, Object attachment)
connectionFailed in class SelectorManagerCopyright © 1995-2016 Webtide. All Rights Reserved.