Uses of Interface
org.dellroad.stuff.net.SelectorSupport.IOHandler
-
Uses of SelectorSupport.IOHandler in org.dellroad.stuff.net
Modifier and TypeClassDescriptionclass
Support superclass forChannelNetwork
connections.class
A TCP connection to be used with aChannelNetwork
.Modifier and TypeMethodDescriptionSelectorSupport.createSelectionKey
(SelectableChannel channel, SelectorSupport.IOHandler handler) Create a newSelectionKey
by registering the given channel on this instance'sSelector
and associating the specifiedSelectorSupport.IOHandler
to handle I/O ready conditions.SelectorSupport.createSelectionKey
(SelectableChannel channel, SelectorSupport.IOHandler handler, boolean notifyOnClose) Create a newSelectionKey
by registering the given channel on this instance'sSelector
and associating the specifiedSelectorSupport.IOHandler
to handle I/O ready conditions and/or channel closure.