protected class ServerConnector.ServerConnectorManager extends SelectorManager
AbstractLifeCycle.AbstractLifeCycleListenerContainer.InheritedListener, Container.ListenerLifeCycle.ListenerDEFAULT_CONNECT_TIMEOUT, LOGFAILED, RUNNING, STARTED, STARTING, STOP_ON_FAILURE, STOPPED, STOPPING| Constructor and Description |
|---|
ServerConnectorManager(Executor executor,
Scheduler scheduler,
int selectors) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
accepted(SocketChannel channel) |
protected void |
endPointClosed(EndPoint endpoint) |
protected void |
endPointOpened(EndPoint endpoint) |
Connection |
newConnection(SocketChannel channel,
EndPoint endpoint,
Object attachment) |
protected SelectChannelEndPoint |
newEndPoint(SocketChannel channel,
ManagedSelector selectSet,
SelectionKey selectionKey) |
accept, accept, acceptor, connect, connectionClosed, connectionFailed, connectionOpened, doStart, doStop, execute, finishConnect, getConnectTimeout, getExecutionStrategyFactory, getExecutor, getScheduler, getSelectorCount, getSelectorPriorityDelta, newSelector, setConnectTimeout, setExecutionStrategyFactory, setSelectorPriorityDeltaaddBean, addBean, addBean, addEventListener, addManaged, contains, destroy, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, dumpThis, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeansaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopprotected void accepted(SocketChannel channel) throws IOException
accepted in class SelectorManagerIOExceptionprotected SelectChannelEndPoint newEndPoint(SocketChannel channel, ManagedSelector selectSet, SelectionKey selectionKey) throws IOException
newEndPoint in class SelectorManagerIOExceptionpublic Connection newConnection(SocketChannel channel, EndPoint endpoint, Object attachment) throws IOException
newConnection in class SelectorManagerIOExceptionprotected void endPointOpened(EndPoint endpoint)
endPointOpened in class SelectorManagerprotected void endPointClosed(EndPoint endpoint)
endPointClosed in class SelectorManagerCopyright © 1995–2017 Webtide. All rights reserved.