protected class HttpClient.ClientSelectorManager extends SelectorManager
SelectorManager.ManagedSelector, SelectorManager.SelectableEndPointAbstractLifeCycle.AbstractLifeCycleListenerLifeCycle.ListenerDEFAULT_CONNECT_TIMEOUT, LOG| Constructor and Description |
|---|
HttpClient.ClientSelectorManager(Executor executor,
Scheduler scheduler) |
HttpClient.ClientSelectorManager(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 key) |
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, stoppublic HttpClient.ClientSelectorManager(Executor executor, Scheduler scheduler)
protected EndPoint newEndPoint(SocketChannel channel, SelectorManager.ManagedSelector selector, SelectionKey key)
newEndPoint in class SelectorManagerpublic 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.