Interface SshFutureListener<T extends SshFuture>

  • Type Parameters:
    T - type of future
    All Superinterfaces:
    java.util.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 Detail

      • 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.