protected class ConnectHandler.ConnectManager extends SelectorManager
AbstractLifeCycle.AbstractLifeCycleListenerContainer.InheritedListener, Container.ListenerLifeCycle.ListenerDEFAULT_CONNECT_TIMEOUT, LOG| Modifier | Constructor and Description |
|---|---|
protected |
ConnectManager(Executor executor,
Scheduler scheduler,
int selectors) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
connectionFailed(SelectableChannel channel,
Throwable ex,
Object attachment) |
Connection |
newConnection(SelectableChannel channel,
EndPoint endpoint,
Object attachment) |
protected EndPoint |
newEndPoint(SelectableChannel channel,
ManagedSelector selector,
SelectionKey key) |
accept, accept, accepted, acceptor, connect, connectionClosed, connectionOpened, doAccept, doFinishConnect, doStart, doStop, endPointClosed, endPointOpened, execute, getConnectTimeout, getExecutor, getScheduler, getSelectorCount, isConnectionPending, newSelector, newSelector, setConnectTimeoutaddBean, addBean, addBean, addEventListener, addManaged, contains, destroy, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, dumpThis, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeansaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopprotected EndPoint newEndPoint(SelectableChannel channel, ManagedSelector selector, SelectionKey key) throws IOException
newEndPoint in class SelectorManagerIOExceptionpublic Connection newConnection(SelectableChannel channel, EndPoint endpoint, Object attachment) throws IOException
newConnection in class SelectorManagerIOExceptionprotected void connectionFailed(SelectableChannel channel, Throwable ex, Object attachment)
connectionFailed in class SelectorManagerCopyright © 1995–2017 Webtide. All rights reserved.