protected class UnixSocketConnector.UnixSocketConnectorManager
extends org.eclipse.jetty.io.SelectorManager
org.eclipse.jetty.io.SelectorManager.AcceptListener
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
Constructor and Description |
---|
UnixSocketConnectorManager(Executor executor,
org.eclipse.jetty.util.thread.Scheduler scheduler,
int selectors) |
Modifier and Type | Method and Description |
---|---|
protected void |
accepted(SelectableChannel channel) |
protected SelectableChannel |
doAccept(SelectableChannel server) |
protected boolean |
doFinishConnect(SelectableChannel channel) |
protected void |
endPointClosed(org.eclipse.jetty.io.EndPoint endpoint) |
protected void |
endPointOpened(org.eclipse.jetty.io.EndPoint endpoint) |
protected boolean |
isConnectionPending(SelectableChannel channel) |
org.eclipse.jetty.io.Connection |
newConnection(SelectableChannel channel,
org.eclipse.jetty.io.EndPoint endpoint,
Object attachment) |
protected org.eclipse.jetty.io.EndPoint |
newEndPoint(SelectableChannel channel,
org.eclipse.jetty.io.ManagedSelector selector,
SelectionKey selectionKey) |
protected Selector |
newSelector() |
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
addBean, 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
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public UnixSocketConnectorManager(Executor executor, org.eclipse.jetty.util.thread.Scheduler scheduler, int selectors)
protected void accepted(SelectableChannel channel) throws IOException
accepted
in class org.eclipse.jetty.io.SelectorManager
IOException
protected Selector newSelector() throws IOException
newSelector
in class org.eclipse.jetty.io.SelectorManager
IOException
protected org.eclipse.jetty.io.EndPoint newEndPoint(SelectableChannel channel, org.eclipse.jetty.io.ManagedSelector selector, SelectionKey selectionKey) throws IOException
newEndPoint
in class org.eclipse.jetty.io.SelectorManager
IOException
public org.eclipse.jetty.io.Connection newConnection(SelectableChannel channel, org.eclipse.jetty.io.EndPoint endpoint, Object attachment) throws IOException
newConnection
in class org.eclipse.jetty.io.SelectorManager
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(SelectableChannel channel) throws IOException
doFinishConnect
in class org.eclipse.jetty.io.SelectorManager
IOException
protected boolean isConnectionPending(SelectableChannel channel)
isConnectionPending
in class org.eclipse.jetty.io.SelectorManager
protected SelectableChannel doAccept(SelectableChannel server) throws IOException
doAccept
in class org.eclipse.jetty.io.SelectorManager
IOException
Copyright © 1995–2018 Webtide. All rights reserved.