Package org.jenkinsci.remoting.protocol
Interface IOHubRegistrationCallback
public interface IOHubRegistrationCallback
Callback to be notified when a call to
IOHub.register(SelectableChannel, IOHubReadyListener, boolean, boolean, boolean, boolean, IOHubRegistrationCallback)
has completed registration.- Since:
- 3.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Notification callback that theSelectableChannel
was closed by the time the registration request was processed.void
onRegistered
(SelectionKey selectionKey) Notification callback that theSelectableChannel
has been successfully registered.
-
Method Details
-
onRegistered
Notification callback that theSelectableChannel
has been successfully registered.- Parameters:
selectionKey
- theSelectionKey
that theSelectableChannel
was registered as.
-
onClosedChannel
Notification callback that theSelectableChannel
was closed by the time the registration request was processed.- Parameters:
e
- theClosedChannelException
that was thrown when the registration request was attempted.
-