Package org.apache.sshd.common.future
Interface SshFutureListener<T extends SshFuture>
- Type Parameters:
T- type of future
- All Superinterfaces:
EventListener,SshdEventListener
- 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.- Author:
- Apache MINA SSHD Project
-
Method Summary
Modifier and TypeMethodDescriptionvoidoperationComplete(T future) Invoked when the operation associated with theSshFuturehas been completed even if you add the listener after the completion.