Package org.eclipse.jetty.proxy
Class ConnectHandler.ConnectManager
- java.lang.Object
-
- org.eclipse.jetty.util.component.AbstractLifeCycle
-
- org.eclipse.jetty.util.component.ContainerLifeCycle
-
- org.eclipse.jetty.io.SelectorManager
-
- org.eclipse.jetty.proxy.ConnectHandler.ConnectManager
-
- All Implemented Interfaces:
Container,Destroyable,Dumpable,Dumpable.DumpableContainer,LifeCycle
- Enclosing class:
- ConnectHandler
protected class ConnectHandler.ConnectManager 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
AbstractLifeCycle.AbstractLifeCycleListener
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container
Container.InheritedListener, Container.Listener
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainer
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedConnectManager(java.util.concurrent.Executor executor, Scheduler scheduler, int selectors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconnectionFailed(java.nio.channels.SelectableChannel channel, java.lang.Throwable ex, java.lang.Object attachment)org.eclipse.jetty.io.ConnectionnewConnection(java.nio.channels.SelectableChannel channel, org.eclipse.jetty.io.EndPoint endpoint, java.lang.Object attachment)protected org.eclipse.jetty.io.EndPointnewEndPoint(java.nio.channels.SelectableChannel channel, org.eclipse.jetty.io.ManagedSelector selector, java.nio.channels.SelectionKey key)-
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.jetty.util.component.Dumpable.DumpableContainer
isDumpable
-
-
-
-
Constructor Detail
-
ConnectManager
protected ConnectManager(java.util.concurrent.Executor executor, Scheduler scheduler, int selectors)
-
-
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 key) throws java.io.IOException- Specified by:
newEndPointin 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:
newConnectionin classorg.eclipse.jetty.io.SelectorManager- Throws:
java.io.IOException
-
connectionFailed
protected void connectionFailed(java.nio.channels.SelectableChannel channel, java.lang.Throwable ex, java.lang.Object attachment)- Overrides:
connectionFailedin classorg.eclipse.jetty.io.SelectorManager
-
-