Package com.sshtools.synergy.nio
Interface SelectorThreadImpl
public interface SelectorThreadImpl
Each
SelectorThread requires an implementation of this
interface to pass selection events.-
Method Summary
Modifier and TypeMethodDescriptiongetName()Get the name of the implementation.voidprocessSelectionKey(SelectionKey key, SelectorThread thread) Process a selection key.
-
Method Details
-
processSelectionKey
Process a selection key.- Parameters:
key- SelectionKey
-
getName
String getName()Get the name of the implementation.- Returns:
- String
-