Interface ClientConnector

All Superinterfaces:
SelectorRegistrationListener
All Known Implementing Classes:
LocalForwardingChannel, RemoteForwardingChannel

public interface ClientConnector extends SelectorRegistrationListener
An interface for the NIO framework to connect outgoing sockets.
  • Method Details

    • finishConnect

      boolean finishConnect(SelectionKey key)
      Complete the connect operation.
      Parameters:
      key - SelectionKey
      Returns:
      boolean