protected class ServerConnector.ServerConnectorManager
extends SelectorManager
| Constructor and Description |
|---|
ServerConnectorManager(java.util.concurrent.Executor executor,
Scheduler scheduler,
int selectors) |
| Modifier and Type | Method and 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() |
public ServerConnectorManager(java.util.concurrent.Executor executor,
Scheduler scheduler,
int selectors)
protected void accepted(java.nio.channels.SelectableChannel channel)
throws java.io.IOException
java.io.IOExceptionprotected ChannelEndPoint newEndPoint(java.nio.channels.SelectableChannel channel,
ManagedSelector selectSet,
java.nio.channels.SelectionKey selectionKey)
throws java.io.IOException
java.io.IOExceptionpublic Connection newConnection(java.nio.channels.SelectableChannel channel,
EndPoint endpoint,
java.lang.Object attachment)
throws java.io.IOException
java.io.IOExceptionprotected void endPointOpened(EndPoint endpoint)
protected void endPointClosed(EndPoint endpoint)
public java.lang.String toString()