Package org.restlet.util
Interface SelectionListener
-
- All Known Implementing Classes:
ByteReadingListener,CharacterReadingListener,ClientInboundWay,ClientOutboundWay,Connection,HttpClientInboundWay,HttpClientOutboundWay,HttpsClientInboundWay,HttpsClientOutboundWay,HttpServerInboundWay,HttpServerOutboundWay,HttpsServerInboundWay,HttpsServerOutboundWay,InboundWay,OutboundWay,ReadingListener,ServerInboundWay,ServerOutboundWay,SslConnection,StringReadingListener,Way
public interface SelectionListenerCallback interface when a NIO selection occurs on the selectable object.
-
-
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
-
-