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.
 

Method Detail

onSelected

void onSelected(SelectionRegistration selectionRegistration)
                throws IOException
Callback method invoked when the connection has been selected for IO operations it registered interest in.

Parameters:
selectionRegistration - The selected registration.
Throws:
IOException


Copyright © 2005-2013 Restlet.