protected class AbstractHttpClientTransport.ClientSelectorManager extends SelectorManager
AbstractLifeCycle.AbstractLifeCycleListenerLifeCycle.ListenerDEFAULT_CONNECT_TIMEOUT, LOG| Modifier | Constructor and Description |
|---|---|
protected |
ClientSelectorManager(HttpClient client,
int selectors) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
connectionFailed(SocketChannel channel,
Throwable x,
Object attachment) |
Connection |
newConnection(SocketChannel channel,
EndPoint endPoint,
Object attachment) |
protected EndPoint |
newEndPoint(SocketChannel channel,
ManagedSelector selector,
SelectionKey key) |
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 ClientSelectorManager(HttpClient client, int selectors)
protected EndPoint newEndPoint(SocketChannel channel, 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 x, Object attachment)
connectionFailed in class SelectorManagerCopyright © 1995-2015 Webtide. All Rights Reserved.