Class AcceptSelectorThread
java.lang.Object
com.j_spaces.kernel.ManagedRunnable
com.gigaspaces.lrmi.nio.selector.handler.AbstractSelectorThread
com.gigaspaces.lrmi.nio.selector.handler.AcceptSelectorThread
- All Implemented Interfaces:
Runnable
Handle accept events from selector.
- Since:
- 6.0.4, 6.5
- Author:
- Guy Korland
-
Field Summary
Fields inherited from class com.gigaspaces.lrmi.nio.selector.handler.AbstractSelectorThread
_logger, ownerThread -
Constructor Summary
ConstructorsConstructorDescriptionAcceptSelectorThread(SelectorManager selectorManager, String name, ServerSocketChannel serverSocketChannel) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidMethods inherited from class com.gigaspaces.lrmi.nio.selector.handler.AbstractSelectorThread
cancelKey, closeChannel, getSelector, register, run, waitWhileFinishMethods inherited from class com.j_spaces.kernel.ManagedRunnable
requestShutdown, shouldShutdown
-
Constructor Details
-
AcceptSelectorThread
public AcceptSelectorThread(SelectorManager selectorManager, String name, ServerSocketChannel serverSocketChannel) throws IOException - Throws:
IOException
-
-
Method Details
-
handleConnection
- Specified by:
handleConnectionin classAbstractSelectorThread- Throws:
IOExceptionInterruptedException
-
enableSelectionKeys
protected void enableSelectionKeys()- Specified by:
enableSelectionKeysin classAbstractSelectorThread
-