protected class UnixSocketConnector.UnixSocketConnectorManager
extends org.eclipse.jetty.io.SelectorManager
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
org.eclipse.jetty.util.component.Container.InheritedListener, org.eclipse.jetty.util.component.Container.Listener
Constructor | Description |
---|---|
UnixSocketConnectorManager(java.util.concurrent.Executor executor,
org.eclipse.jetty.util.thread.Scheduler scheduler,
int selectors) |
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() |
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
addBean, addBean, addBean, addEventListener, addManaged, contains, destroy, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, dumpThis, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeans
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
public UnixSocketConnectorManager(java.util.concurrent.Executor executor, org.eclipse.jetty.util.thread.Scheduler scheduler, int selectors)
protected void accepted(java.nio.channels.SelectableChannel channel) throws java.io.IOException
accepted
in class org.eclipse.jetty.io.SelectorManager
java.io.IOException
protected java.nio.channels.Selector newSelector() throws java.io.IOException
newSelector
in class org.eclipse.jetty.io.SelectorManager
java.io.IOException
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
newEndPoint
in class org.eclipse.jetty.io.SelectorManager
java.io.IOException
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
newConnection
in class org.eclipse.jetty.io.SelectorManager
java.io.IOException
protected void endPointOpened(org.eclipse.jetty.io.EndPoint endpoint)
endPointOpened
in class org.eclipse.jetty.io.SelectorManager
protected void endPointClosed(org.eclipse.jetty.io.EndPoint endpoint)
endPointClosed
in class org.eclipse.jetty.io.SelectorManager
protected boolean doFinishConnect(java.nio.channels.SelectableChannel channel) throws java.io.IOException
doFinishConnect
in class org.eclipse.jetty.io.SelectorManager
java.io.IOException
protected boolean isConnectionPending(java.nio.channels.SelectableChannel channel)
isConnectionPending
in class org.eclipse.jetty.io.SelectorManager
protected java.nio.channels.SelectableChannel doAccept(java.nio.channels.SelectableChannel server) throws java.io.IOException
doAccept
in class org.eclipse.jetty.io.SelectorManager
java.io.IOException
Copyright © 1995–2018 Webtide. All rights reserved.