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, waitWhileFinish
requestShutdown, shouldShutdown
public AcceptSelectorThread(SelectorManager selectorManager, String name, ServerSocketChannel serverSocketChannel) throws IOException
IOException
protected void handleConnection(SelectionKey key) throws IOException, InterruptedException
handleConnection
in class AbstractSelectorThread
IOException
InterruptedException
protected void enableSelectionKeys()
enableSelectionKeys
in class AbstractSelectorThread
Copyright © GigaSpaces.