Package org.eclipse.jetty.http2.client
Class HTTP2Client.ClientSelectorManager
- java.lang.Object
-
- org.eclipse.jetty.util.component.AbstractLifeCycle
-
- org.eclipse.jetty.util.component.ContainerLifeCycle
-
- org.eclipse.jetty.io.SelectorManager
-
- org.eclipse.jetty.http2.client.HTTP2Client.ClientSelectorManager
-
- All Implemented Interfaces:
org.eclipse.jetty.util.component.Container
,org.eclipse.jetty.util.component.Destroyable
,org.eclipse.jetty.util.component.Dumpable
,org.eclipse.jetty.util.component.Dumpable.DumpableContainer
,org.eclipse.jetty.util.component.LifeCycle
- Enclosing class:
- HTTP2Client
private class HTTP2Client.ClientSelectorManager extends org.eclipse.jetty.io.SelectorManager
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jetty.io.SelectorManager
org.eclipse.jetty.io.SelectorManager.AcceptListener
-
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container
org.eclipse.jetty.util.component.Container.InheritedListener, org.eclipse.jetty.util.component.Container.Listener
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ClientSelectorManager(java.util.concurrent.Executor executor, org.eclipse.jetty.util.thread.Scheduler scheduler, int selectors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
connectionFailed(java.nio.channels.SelectableChannel channel, java.lang.Throwable failure, java.lang.Object attachment)
org.eclipse.jetty.io.Connection
newConnection(java.nio.channels.SelectableChannel channel, org.eclipse.jetty.io.EndPoint endpoint, java.lang.Object attachment)
protected org.eclipse.jetty.io.EndPoint
newEndPoint(java.nio.channels.SelectableChannel channel, org.eclipse.jetty.io.ManagedSelector selector, java.nio.channels.SelectionKey selectionKey)
-
Methods inherited from class org.eclipse.jetty.io.SelectorManager
accept, accept, accepted, acceptor, addAcceptListener, addEventListener, connect, connectionClosed, connectionOpened, doAccept, doFinishConnect, doStart, doStop, endPointClosed, endPointOpened, execute, getConnectTimeout, getExecutor, getReservedThreads, getScheduler, getSelectorCount, isConnectionPending, newSelector, newSelector, onAccepted, onAcceptFailed, onAccepting, removeAcceptListener, removeEventListener, setConnectTimeout, setReservedThreads
-
Methods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle
addBean, addBean, addEventListener, addManaged, contains, destroy, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpObjects, dumpStdErr, dumpThis, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeans
-
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop, toString
-
-
-
-
Method Detail
-
newEndPoint
protected org.eclipse.jetty.io.EndPoint newEndPoint(java.nio.channels.SelectableChannel channel, org.eclipse.jetty.io.ManagedSelector selector, java.nio.channels.SelectionKey selectionKey) throws java.io.IOException
- Specified by:
newEndPoint
in classorg.eclipse.jetty.io.SelectorManager
- Throws:
java.io.IOException
-
newConnection
public org.eclipse.jetty.io.Connection newConnection(java.nio.channels.SelectableChannel channel, org.eclipse.jetty.io.EndPoint endpoint, java.lang.Object attachment) throws java.io.IOException
- Specified by:
newConnection
in classorg.eclipse.jetty.io.SelectorManager
- Throws:
java.io.IOException
-
connectionFailed
protected void connectionFailed(java.nio.channels.SelectableChannel channel, java.lang.Throwable failure, java.lang.Object attachment)
- Overrides:
connectionFailed
in classorg.eclipse.jetty.io.SelectorManager
-
-