java.io.Closeable, java.lang.AutoCloseablepublic class AcceptingSelector extends ESSelector
NioServerSocketChannel. It's main piece of functionality is
accepting new channels.| Constructor | Description |
|---|---|
AcceptingSelector(AcceptorEventHandler eventHandler) |
|
AcceptingSelector(AcceptorEventHandler eventHandler,
java.nio.channels.Selector selector) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
scheduleForRegistration(NioServerSocketChannel serverSocketChannel) |
Schedules a NioServerSocketChannel to be registered with this selector.
|
close, isOnCurrentThread, isOpen, isRunning, isRunningFuture, queueChannelClose, rawSelector, runLooppublic AcceptingSelector(AcceptorEventHandler eventHandler) throws java.io.IOException
java.io.IOExceptionpublic AcceptingSelector(AcceptorEventHandler eventHandler, java.nio.channels.Selector selector) throws java.io.IOException
java.io.IOExceptionpublic void scheduleForRegistration(NioServerSocketChannel serverSocketChannel)
serverSocketChannel - the channel to register