Package org.jenkinsci.remoting.protocol
Interface IOHubRegistrationCallback
-
public interface IOHubRegistrationCallback
Callback to be notified when a call toIOHub.register(SelectableChannel, IOHubReadyListener, boolean, boolean, boolean, boolean, IOHubRegistrationCallback)
has completed registration.- Since:
- 3.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onClosedChannel(ClosedChannelException e)
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 Detail
-
onRegistered
void onRegistered(SelectionKey selectionKey)
Notification callback that theSelectableChannel
has been successfully registered.- Parameters:
selectionKey
- theSelectionKey
that theSelectableChannel
was registered as.
-
onClosedChannel
void onClosedChannel(ClosedChannelException e)
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.
-
-