public class AcceptSelectorThread extends AbstractSelectorThread
_logger, ownerThread| Constructor and Description |
|---|
AcceptSelectorThread(SelectorManager selectorManager,
String name,
ServerSocketChannel serverSocketChannel) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
enableSelectionKeys() |
protected void |
handleConnection(SelectionKey key) |
cancelKey, closeChannel, getSelector, register, run, waitWhileFinishrequestShutdown, shouldShutdownpublic AcceptSelectorThread(SelectorManager selectorManager, String name, ServerSocketChannel serverSocketChannel) throws IOException
IOExceptionprotected void handleConnection(SelectionKey key) throws IOException, InterruptedException
handleConnection in class AbstractSelectorThreadIOExceptionInterruptedExceptionprotected void enableSelectionKeys()
enableSelectionKeys in class AbstractSelectorThreadCopyright © GigaSpaces.