protected class AbstractHttpClientTransport.ClientSelectorManager extends SelectorManager
SelectorManager.ManagedSelector, SelectorManager.SelectableEndPoint
AbstractLifeCycle.AbstractLifeCycleListener
LifeCycle.Listener
DEFAULT_CONNECT_TIMEOUT, LOG, SUBMIT_KEY_UPDATES
Modifier | Constructor and Description |
---|---|
protected |
AbstractHttpClientTransport.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,
SelectorManager.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, setSelectorPriorityDelta
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop
protected AbstractHttpClientTransport.ClientSelectorManager(HttpClient client, int selectors)
protected EndPoint newEndPoint(SocketChannel channel, SelectorManager.ManagedSelector selector, SelectionKey key)
newEndPoint
in class SelectorManager
public Connection newConnection(SocketChannel channel, EndPoint endPoint, Object attachment) throws IOException
newConnection
in class SelectorManager
IOException
protected void connectionFailed(SocketChannel channel, Throwable x, Object attachment)
connectionFailed
in class SelectorManager
Copyright © 1995-2017 Webtide. All Rights Reserved.