Top Description Methods
org.apache.sshd.common.future

public Interface CloseFuture

extends SshFuture<CloseFuture>
Known Direct Implementers
org.apache.sshd.common.future.DefaultCloseFuture

An SshFuture for asynchronous close requests.
Author
Apache MINA SSHD Project

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if the close request is finished and the target is closed.
isClosed
()

public void
setClosed()

Marks this future as closed and notifies all threads waiting for this future.

Inherited from org.apache.sshd.common.future.SshFuture:
addListenerremoveListener

Method Detail

isClosedback to summary
public boolean isClosed()
Returns:boolean

true if the close request is finished and the target is closed.

setClosedback to summary
public 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.