protected class ConnectHandler.Manager extends SelectorManager
SelectorManager.ManagedSelector, SelectorManager.SelectableEndPointAbstractLifeCycle.AbstractLifeCycleListenerLifeCycle.ListenerDEFAULT_CONNECT_TIMEOUT, LOG| 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, connect, connectionClosed, connectionOpened, doStart, doStop, dump, dump, endPointClosed, endPointOpened, execute, finishConnect, getConnectTimeout, getExecutor, getScheduler, getSelectorCount, newSelector, setConnectTimeoutaddLifeCycleListener, 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-2013 Mort Bay Consulting. All Rights Reserved.