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 TypeMethodDescriptionvoidNotification callback that theSelectableChannelwas closed by the time the registration request was processed.voidonRegistered(SelectionKey selectionKey) Notification callback that theSelectableChannelhas been successfully registered.
-
Method Details
-
onRegistered
Notification callback that theSelectableChannelhas been successfully registered.- Parameters:
selectionKey- theSelectionKeythat theSelectableChannelwas registered as.
-
onClosedChannel
Notification callback that theSelectableChannelwas closed by the time the registration request was processed.- Parameters:
e- theClosedChannelExceptionthat was thrown when the registration request was attempted.
-