org.apache.sshd.common.future
Interface CloseFuture

All Superinterfaces:
SshFuture<CloseFuture>
All Known Implementing Classes:
DefaultCloseFuture

public interface CloseFuture
extends SshFuture<CloseFuture>

An SshFuture for asynchronous close requests.

Author:
Apache MINA SSHD Project

Method Summary
 boolean isClosed()
          Returns true if the close request is finished and the target is closed.
 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, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, isDone, removeListener
 

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.



Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.