Package com.sshtools.synergy.nio
Interface SelectorRegistrationListener
- All Known Subinterfaces:
ClientConnector,SocketHandler
- All Known Implementing Classes:
LocalForwardingChannel,RemoteForwardingChannel,SocketConnection,SocketForwardingChannel,SSLContextConnection,SSLSocketConnection
public interface SelectorRegistrationListener
Allows an object to receive notification that a registration has completed
on a
SelectorThread.-
Method Summary
Modifier and TypeMethodDescriptionvoidregistrationCompleted(SelectableChannel channel, SelectionKey key, SelectorThread selectorThread) The registration completed and its selector added to an availableSelectorThread
-
Method Details
-
registrationCompleted
void registrationCompleted(SelectableChannel channel, SelectionKey key, SelectorThread selectorThread) throws IOException The registration completed and its selector added to an availableSelectorThread- Parameters:
channel- SelectableChannelkey- SelectionKeyselectorThread- SelectorThread- Throws:
IOException
-