protected class UnixSocketConnector.UnixSocketConnectorManager extends SelectorManager
AbstractLifeCycle.AbstractLifeCycleListenerContainer.InheritedListener, Container.ListenerLifeCycle.ListenerDEFAULT_CONNECT_TIMEOUT, LOG| Constructor and Description |
|---|
UnixSocketConnectorManager(Executor executor,
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(EndPoint endpoint) |
protected void |
endPointOpened(EndPoint endpoint) |
protected boolean |
isConnectionPending(SelectableChannel channel) |
Connection |
newConnection(SelectableChannel channel,
EndPoint endpoint,
Object attachment) |
protected EndPoint |
newEndPoint(SelectableChannel channel,
ManagedSelector selector,
SelectionKey selectionKey) |
protected Selector |
newSelector() |
accept, accept, acceptor, connect, connectionClosed, connectionFailed, connectionOpened, doStart, doStop, execute, getConnectTimeout, getExecutor, getScheduler, getSelectorCount, newSelector, setConnectTimeoutaddBean, 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(SelectableChannel channel) throws IOException
accepted in class SelectorManagerIOExceptionprotected Selector newSelector() throws IOException
newSelector in class SelectorManagerIOExceptionprotected EndPoint newEndPoint(SelectableChannel channel, ManagedSelector selector, SelectionKey selectionKey) throws IOException
newEndPoint in class SelectorManagerIOExceptionpublic Connection newConnection(SelectableChannel 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 SelectorManagerprotected boolean doFinishConnect(SelectableChannel channel) throws IOException
doFinishConnect in class SelectorManagerIOExceptionprotected boolean isConnectionPending(SelectableChannel channel)
isConnectionPending in class SelectorManagerprotected SelectableChannel doAccept(SelectableChannel server) throws IOException
doAccept in class SelectorManagerIOExceptionCopyright © 1995–2017 Webtide. All rights reserved.