Package org.glassfish.grizzly.nio
Interface SelectorHandlerTask
-
- All Known Implementing Classes:
DefaultSelectorHandler.DeregisterChannelOperation,DefaultSelectorHandler.RegisterChannelOperation,DefaultSelectorHandler.RegisterKeyTask,DefaultSelectorHandler.RunnableTask
public interface SelectorHandlerTaskTask, which may be registered onSelectorHandlerand executed in a Selector thread.- Author:
- Alexey Stashok
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcancel()booleanrun(SelectorRunner selectorRunner)
-
-
-
Method Detail
-
run
boolean run(SelectorRunner selectorRunner) throws IOException
- Throws:
IOException
-
cancel
void cancel()
-
-