Package org.eclipse.jetty.unixsocket
Class UnixSocketConnector.UnixSocketConnectorManager
- java.lang.Object
-
- org.eclipse.jetty.util.component.AbstractLifeCycle
-
- org.eclipse.jetty.util.component.ContainerLifeCycle
-
- org.eclipse.jetty.io.SelectorManager
-
- org.eclipse.jetty.unixsocket.UnixSocketConnector.UnixSocketConnectorManager
-
- 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.LifeCycle
- Enclosing class:
- UnixSocketConnector
protected class UnixSocketConnector.UnixSocketConnectorManager 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
-
-
Constructor Summary
Constructors Constructor Description UnixSocketConnectorManager(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
accepted(java.nio.channels.SelectableChannel channel)
protected java.nio.channels.SelectableChannel
doAccept(java.nio.channels.SelectableChannel server)
protected boolean
doFinishConnect(java.nio.channels.SelectableChannel channel)
protected void
endPointClosed(org.eclipse.jetty.io.EndPoint endpoint)
protected void
endPointOpened(org.eclipse.jetty.io.EndPoint endpoint)
protected boolean
isConnectionPending(java.nio.channels.SelectableChannel channel)
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)
protected java.nio.channels.Selector
newSelector()
-
Methods inherited from class org.eclipse.jetty.io.SelectorManager
accept, accept, acceptor, addAcceptListener, addEventListener, connect, connectionClosed, connectionFailed, connectionOpened, doStart, doStop, execute, getConnectTimeout, getExecutor, getReservedThreads, getScheduler, getSelectorCount, 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
-
accepted
protected void accepted(java.nio.channels.SelectableChannel channel) throws java.io.IOException
- Overrides:
accepted
in classorg.eclipse.jetty.io.SelectorManager
- Throws:
java.io.IOException
-
newSelector
protected java.nio.channels.Selector newSelector() throws java.io.IOException
- Overrides:
newSelector
in classorg.eclipse.jetty.io.SelectorManager
- Throws:
java.io.IOException
-
newEndPoint
protected org.eclipse.jetty.io.EndPoint newEndPoint(java.nio.channels.SelectableChannel channel, org.eclipse.jetty.io.ManagedSelector selector, java.nio.channels.SelectionKey selectionKey)
- Specified by:
newEndPoint
in classorg.eclipse.jetty.io.SelectorManager
-
newConnection
public org.eclipse.jetty.io.Connection newConnection(java.nio.channels.SelectableChannel channel, org.eclipse.jetty.io.EndPoint endpoint, java.lang.Object attachment)
- Specified by:
newConnection
in classorg.eclipse.jetty.io.SelectorManager
-
endPointOpened
protected void endPointOpened(org.eclipse.jetty.io.EndPoint endpoint)
- Overrides:
endPointOpened
in classorg.eclipse.jetty.io.SelectorManager
-
endPointClosed
protected void endPointClosed(org.eclipse.jetty.io.EndPoint endpoint)
- Overrides:
endPointClosed
in classorg.eclipse.jetty.io.SelectorManager
-
doFinishConnect
protected boolean doFinishConnect(java.nio.channels.SelectableChannel channel) throws java.io.IOException
- Overrides:
doFinishConnect
in classorg.eclipse.jetty.io.SelectorManager
- Throws:
java.io.IOException
-
isConnectionPending
protected boolean isConnectionPending(java.nio.channels.SelectableChannel channel)
- Overrides:
isConnectionPending
in classorg.eclipse.jetty.io.SelectorManager
-
doAccept
protected java.nio.channels.SelectableChannel doAccept(java.nio.channels.SelectableChannel server) throws java.io.IOException
- Overrides:
doAccept
in classorg.eclipse.jetty.io.SelectorManager
- Throws:
java.io.IOException
-
-