Package org.restlet.util
Interface SelectionListener
-
- All Known Implementing Classes:
ByteReadingListener,CharacterReadingListener,ReadingListener,StringReadingListener
public interface SelectionListenerCallback interface when a NIO selection occurs on the selectable object.- Author:
- Jerome Louvel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonSelected(SelectionRegistration selectionRegistration)Callback method invoked when the connection has been selected for IO operations it registered interest in.
-
-
-
Method Detail
-
onSelected
void onSelected(SelectionRegistration selectionRegistration) throws java.io.IOException
Callback method invoked when the connection has been selected for IO operations it registered interest in.- Parameters:
selectionRegistration- The selected registration.- Throws:
java.io.IOException
-
-