T - Type of futurepublic interface SshFuture<T extends SshFuture> extends WaitableFuture
SshFutureListener.| Modifier and Type | Method and Description |
|---|---|
T |
addListener(SshFutureListener<T> listener)
Adds an event listener which is notified when
this future is completed.
|
T |
removeListener(SshFutureListener<T> listener)
Removes an existing event listener so it won't be notified when
the future is completed.
|
await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, isDoneT addListener(SshFutureListener<T> listener)
listener - The SshFutureListener instance to addT removeListener(SshFutureListener<T> listener)
listener - The SshFutureListener instance to removeCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.