Interface SshFutureListener<T extends SshFuture>

Type Parameters:
T - type of future
All Superinterfaces:
EventListener, SshdEventListener
All Known Implementing Classes:
ClientChannelPendingMessagesQueue, PendingWriteFuture
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface SshFutureListener<T extends SshFuture> extends SshdEventListener
Something interested in being notified when the completion of an asynchronous SSH operation : SshFuture.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invoked when the operation associated with the SshFuture has been completed even if you add the listener after the completion.
  • Method Details

    • operationComplete

      void operationComplete(T future)
      Invoked when the operation associated with the SshFuture has been completed even if you add the listener after the completion.
      Parameters:
      future - The source SshFuture which called this callback.