Container, Destroyable, Dumpable, LifeCycleprotected class AbstractHttpClientTransport.ClientSelectorManager extends SelectorManager
AbstractLifeCycle.AbstractLifeCycleListenerContainer.InheritedListener, Container.ListenerLifeCycle.ListenerFAILED, RUNNING, STARTED, STARTING, STOP_ON_FAILURE, STOPPED, STOPPINGDEFAULT_CONNECT_TIMEOUT, LOG| Modifier | Constructor | Description |
|---|---|---|
protected |
ClientSelectorManager(HttpClient client,
int selectors) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
connectionFailed(java.nio.channels.SocketChannel channel,
java.lang.Throwable x,
java.lang.Object attachment) |
|
Connection |
newConnection(java.nio.channels.SocketChannel channel,
EndPoint endPoint,
java.lang.Object attachment) |
|
protected EndPoint |
newEndPoint(java.nio.channels.SocketChannel channel,
ManagedSelector selector,
java.nio.channels.SelectionKey key) |
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopaddBean, 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, updateBeansclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, accept, accepted, acceptor, connect, connectionClosed, connectionOpened, doStart, doStop, endPointClosed, endPointOpened, execute, finishConnect, getConnectTimeout, getExecutionStrategyFactory, getExecutor, getScheduler, getSelectorCount, getSelectorPriorityDelta, newSelector, setConnectTimeout, setExecutionStrategyFactory, setSelectorPriorityDeltaprotected ClientSelectorManager(HttpClient client, int selectors)
protected EndPoint newEndPoint(java.nio.channels.SocketChannel channel, ManagedSelector selector, java.nio.channels.SelectionKey key)
newEndPoint in class SelectorManagerpublic Connection newConnection(java.nio.channels.SocketChannel channel, EndPoint endPoint, java.lang.Object attachment) throws java.io.IOException
newConnection in class SelectorManagerjava.io.IOExceptionprotected void connectionFailed(java.nio.channels.SocketChannel channel,
java.lang.Throwable x,
java.lang.Object attachment)
connectionFailed in class SelectorManagerCopyright © 1995–2017 Webtide. All rights reserved.