Container, Destroyable, Dumpable, LifeCycleprotected class ServerConnector.ServerConnectorManager extends SelectorManager
AbstractLifeCycle.AbstractLifeCycleListenerContainer.InheritedListener, Container.ListenerLifeCycle.ListenerFAILED, RUNNING, STARTED, STARTING, STOP_ON_FAILURE, STOPPED, STOPPINGDEFAULT_CONNECT_TIMEOUT, LOG| Constructor | Description |
|---|---|
ServerConnectorManager(java.util.concurrent.Executor executor,
Scheduler scheduler,
int selectors) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
accepted(java.nio.channels.SelectableChannel channel) |
|
protected void |
endPointClosed(EndPoint endpoint) |
|
protected void |
endPointOpened(EndPoint endpoint) |
|
Connection |
newConnection(java.nio.channels.SelectableChannel channel,
EndPoint endpoint,
java.lang.Object attachment) |
|
protected ChannelEndPoint |
newEndPoint(java.nio.channels.SelectableChannel channel,
ManagedSelector selectSet,
java.nio.channels.SelectionKey selectionKey) |
|
java.lang.String |
toString() |
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopaddBean, 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, updateBeansclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaccept, accept, acceptor, connect, connectionClosed, connectionFailed, connectionOpened, doAccept, doFinishConnect, doStart, doStop, execute, getConnectTimeout, getExecutor, getReservedThreads, getScheduler, getSelectorCount, isConnectionPending, newSelector, newSelector, setConnectTimeout, setReservedThreadspublic ServerConnectorManager(java.util.concurrent.Executor executor,
Scheduler scheduler,
int selectors)
protected void accepted(java.nio.channels.SelectableChannel channel)
throws java.io.IOException
accepted in class SelectorManagerjava.io.IOExceptionprotected ChannelEndPoint newEndPoint(java.nio.channels.SelectableChannel channel, ManagedSelector selectSet, java.nio.channels.SelectionKey selectionKey) throws java.io.IOException
newEndPoint in class SelectorManagerjava.io.IOExceptionpublic Connection newConnection(java.nio.channels.SelectableChannel channel, EndPoint endpoint, java.lang.Object attachment) throws java.io.IOException
newConnection in class SelectorManagerjava.io.IOExceptionprotected void endPointOpened(EndPoint endpoint)
endPointOpened in class SelectorManagerprotected void endPointClosed(EndPoint endpoint)
endPointClosed in class SelectorManagerpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 1995–2018 Webtide. All rights reserved.