public static interface ManagedSelector.Selectable
ManagedSelector.Selectable is an EndPoint that wish to be
notified of non-blocking events by the ManagedSelector.| 限定符和类型 | 方法和说明 |
|---|---|
Runnable |
onSelected()
Callback method invoked when a read or write events has been
detected by the
ManagedSelector for this endpoint. |
void |
updateKey()
Callback method invoked when all the keys selected by the
ManagedSelector for this endpoint have been processed. |
Runnable onSelected()
ManagedSelector for this endpoint.void updateKey()
ManagedSelector for this endpoint have been processed.Copyright © 2017. All rights reserved.