Package org.apache.sshd.common.future
Interface CloseFuture
- All Superinterfaces:
SshFuture<CloseFuture>
,WaitableFuture
- All Known Implementing Classes:
DefaultCloseFuture
An
SshFuture
for asynchronous close requests.-
Method Summary
Methods inherited from interface org.apache.sshd.common.future.SshFuture
addListener, removeListener
Methods inherited from interface org.apache.sshd.common.future.WaitableFuture
await, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, getId, isDone
-
Method Details
-
isClosed
boolean isClosed()- Returns:
- true if the close request is finished and the target is closed.
-
setClosed
void setClosed()Marks this future as closed and notifies all threads waiting for this future. This method is invoked by SSHD internally. Please do not call this method directly.
-