Package org.apache.sshd.common.future
Interface CloseFuture
-
- All Superinterfaces:
SshFuture<CloseFuture>
,WaitableFuture
- All Known Implementing Classes:
DefaultCloseFuture
public interface CloseFuture extends SshFuture<CloseFuture>
AnSshFuture
for asynchronous close requests.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isClosed()
void
setClosed()
Marks this future as closed and notifies all threads waiting for this future.-
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, await, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, getId, isDone
-
-
-
-
Method Detail
-
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.
-
-