Container, Destroyable, Dumpable, LifeCycleprotected class UnixSocketConnector.UnixSocketConnectorManager extends SelectorManager
AbstractLifeCycle.AbstractLifeCycleListenerContainer.InheritedListener, Container.ListenerLifeCycle.ListenerFAILED, RUNNING, STARTED, STARTING, STOP_ON_FAILURE, STOPPED, STOPPINGDEFAULT_CONNECT_TIMEOUT, LOG| Constructor | Description |
|---|---|
UnixSocketConnectorManager(java.util.concurrent.Executor executor,
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(EndPoint endpoint) |
|
protected void |
endPointOpened(EndPoint endpoint) |
|
protected boolean |
isConnectionPending(java.nio.channels.SelectableChannel channel) |
|
Connection |
newConnection(java.nio.channels.SelectableChannel channel,
EndPoint endpoint,
java.lang.Object attachment) |
|
protected EndPoint |
newEndPoint(java.nio.channels.SelectableChannel channel,
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, stopaddBean, 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, updateBeansclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, accept, acceptor, connect, connectionClosed, connectionFailed, connectionOpened, defaultSchedulers, doStart, doStop, execute, getConnectTimeout, getExecutor, getReservedThreads, getScheduler, getSelectorCount, newSelector, setConnectTimeout, setReservedThreadspublic UnixSocketConnectorManager(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 java.nio.channels.Selector newSelector()
throws java.io.IOException
newSelector in class SelectorManagerjava.io.IOExceptionprotected EndPoint newEndPoint(java.nio.channels.SelectableChannel channel, ManagedSelector selector, 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 SelectorManagerprotected boolean doFinishConnect(java.nio.channels.SelectableChannel channel)
throws java.io.IOException
doFinishConnect in class SelectorManagerjava.io.IOExceptionprotected boolean isConnectionPending(java.nio.channels.SelectableChannel channel)
isConnectionPending in class SelectorManagerprotected java.nio.channels.SelectableChannel doAccept(java.nio.channels.SelectableChannel server)
throws java.io.IOException
doAccept in class SelectorManagerjava.io.IOExceptionCopyright © 1995–2017 Webtide. All rights reserved.