Package org.apache.sshd.common.future
Interface SshFutureListener<T extends SshFuture>
-
- Type Parameters:
T
- type of future
- All Superinterfaces:
java.util.EventListener
,SshdEventListener
- All Known Implementing Classes:
GlobalRequestFuture
,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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
operationComplete(T future)
Invoked when the operation associated with theSshFuture
has been completed even if you add the listener after the completion.
-