public class ReadSelectorThread extends AbstractSelectorThread
_logger, _pivot, ownerThread| Constructor and Description | 
|---|
ReadSelectorThread(Pivot pivot)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
createKey(SocketChannel channel)
called after the reading has finished 
 | 
protected void | 
enableSelectionKeys()  | 
protected void | 
handleConnection(SelectionKey key)  | 
void | 
registerKey(SelectionKey key)
called after the reading has finished 
 | 
cancelKey, closeChannel, getSelector, register, run, waitWhileFinishrequestShutdown, shouldShutdownpublic ReadSelectorThread(Pivot pivot) throws IOException
IOExceptionprotected void handleConnection(SelectionKey key) throws IOException, InterruptedException
handleConnection in class AbstractSelectorThreadIOExceptionInterruptedExceptionprotected void enableSelectionKeys()
enableSelectionKeys in class AbstractSelectorThreadpublic void registerKey(SelectionKey key)
public void createKey(SocketChannel channel)
Copyright © GigaSpaces.