Package org.glassfish.grizzly.nio
Class DefaultSelectorHandler.RegisterKeyTask
- java.lang.Object
-
- org.glassfish.grizzly.nio.DefaultSelectorHandler.RegisterKeyTask
-
- All Implemented Interfaces:
SelectorHandlerTask
- Enclosing class:
- DefaultSelectorHandler
protected static final class DefaultSelectorHandler.RegisterKeyTask extends Object implements SelectorHandlerTask
-
-
Constructor Summary
Constructors Constructor Description RegisterKeyTask(SelectionKey selectionKey, int interest)
-
-
-
Constructor Detail
-
RegisterKeyTask
public RegisterKeyTask(SelectionKey selectionKey, int interest)
-
-
Method Detail
-
run
public boolean run(SelectorRunner selectorRunner) throws IOException
- Specified by:
run
in interfaceSelectorHandlerTask
- Throws:
IOException
-
cancel
public void cancel()
- Specified by:
cancel
in interfaceSelectorHandlerTask
-
-