Package org.apache.sshd.common.future
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 TypeMethodDescriptionvoid
operationComplete
(T future) Invoked when the operation associated with theSshFuture
has been completed even if you add the listener after the completion.