Interface ClientConnector.ConnectListener

All Superinterfaces:
EventListener
Enclosing class:
ClientConnector

public static interface ClientConnector.ConnectListener extends EventListener

A listener for events about SocketChannel.connect(SocketAddress).

The events are:

  • begin, just before the connect() call
  • success, when the connect() call succeeds
  • failure, when the connect() call fails