public interface IOHubRegistrationCallback
IOHub.register(SelectableChannel, IOHubReadyListener, boolean, boolean, boolean, boolean, IOHubRegistrationCallback) has completed registration.| Modifier and Type | Method and Description |
|---|---|
void |
onClosedChannel(ClosedChannelException e)
Notification callback that the
SelectableChannel was closed by the time the registration request was
processed. |
void |
onRegistered(SelectionKey selectionKey)
Notification callback that the
SelectableChannel has been successfully registered. |
void onRegistered(SelectionKey selectionKey)
SelectableChannel has been successfully registered.selectionKey - the SelectionKey that the SelectableChannel was registered as.void onClosedChannel(ClosedChannelException e)
SelectableChannel was closed by the time the registration request was
processed.e - the ClosedChannelException that was thrown when the registration request was attempted.Copyright © 2004–2017. All rights reserved.