Package com.sshtools.common.ssh
Interface RequestFuture
- All Known Implementing Classes:
AbstractRequestFuture,ChannelRequestFuture,ConnectionAwareTask,GlobalRequest
public interface RequestFuture
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddFutureListener(RequestFutureListener listener) booleanisDone()default booleanbooleanwaitFor(long timeout)
-
Method Details
-
isDone
boolean isDone() -
isSuccess
boolean isSuccess() -
isDoneAndSuccess
default boolean isDoneAndSuccess() -
waitFor
-
waitForever
RequestFuture waitForever() -
addFutureListener
-