Package org.eclipse.jetty.io
Interface ManagedSelector.Selectable
-
- All Known Implementing Classes:
ChannelEndPoint,NetworkTrafficSelectChannelEndPoint,NetworkTrafficSocketChannelEndPoint,SelectChannelEndPoint,SocketChannelEndPoint
- Enclosing class:
- ManagedSelector
public static interface ManagedSelector.SelectableAManagedSelector.Selectableis anEndPointthat wish to be notified of non-blocking events by theManagedSelector.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.RunnableonSelected()Callback method invoked when a read or write events has been detected by theManagedSelectorfor this endpoint.voidupdateKey()Callback method invoked when all the keys selected by theManagedSelectorfor this endpoint have been processed.
-
-
-
Method Detail
-
onSelected
java.lang.Runnable onSelected()
Callback method invoked when a read or write events has been detected by theManagedSelectorfor this endpoint.- Returns:
- a job that may block or null
-
updateKey
void updateKey()
Callback method invoked when all the keys selected by theManagedSelectorfor this endpoint have been processed.
-
-