java.lang.Object
org.glassfish.grizzly.nio.DefaultSelectionKeyHandler
- All Implemented Interfaces:
SelectionKeyHandler
- Author:
- oleksiys
-
Field Summary
Fields inherited from interface org.glassfish.grizzly.nio.SelectionKeyHandler
DEFAULT_SELECTION_KEY_HANDLER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel(SelectionKey key) getConnectionForKey(SelectionKey selectionKey) IOEvent[]getIOEvents(int interest) intioEvent2SelectionKeyInterest(IOEvent ioEvent) voidvoidbooleanonProcessInterest(SelectionKey key, int interest) selectionKeyInterest2IoEvent(int selectionKeyInterest) voidsetConnectionForKey(NIOConnection connection, SelectionKey selectionKey)
-
Constructor Details
-
DefaultSelectionKeyHandler
public DefaultSelectionKeyHandler()
-
-
Method Details
-
onKeyRegistered
- Specified by:
onKeyRegisteredin interfaceSelectionKeyHandler
-
onKeyDeregistered
- Specified by:
onKeyDeregisteredin interfaceSelectionKeyHandler
-
cancel
- Specified by:
cancelin interfaceSelectionKeyHandler- Throws:
IOException
-
ioEvent2SelectionKeyInterest
- Specified by:
ioEvent2SelectionKeyInterestin interfaceSelectionKeyHandler
-
getIOEvents
- Specified by:
getIOEventsin interfaceSelectionKeyHandler
-
selectionKeyInterest2IoEvent
- Specified by:
selectionKeyInterest2IoEventin interfaceSelectionKeyHandler
-
onProcessInterest
- Specified by:
onProcessInterestin interfaceSelectionKeyHandler- Throws:
IOException
-
getConnectionForKey
- Specified by:
getConnectionForKeyin interfaceSelectionKeyHandler
-
setConnectionForKey
- Specified by:
setConnectionForKeyin interfaceSelectionKeyHandler
-