org.restlet.util
Interface SelectionListener
- All Known Implementing Classes:
- ByteReadingListener, CharacterReadingListener, ReadingListener, StringReadingListener
public interface SelectionListener
Callback interface when a NIO selection occurs on the selectable object.
- Author:
- Jerome Louvel
Method Summary |
void |
onSelected(SelectionRegistration selectionRegistration)
Callback method invoked when the connection has been selected for IO
operations it registered interest in. |
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
Copyright © 2005-2013 Restlet.