Package com.sshtools.client.tasks
Class Task
java.lang.Object
com.sshtools.common.ssh.AbstractRequestFuture
com.sshtools.common.ssh.ConnectionAwareTask
com.sshtools.client.tasks.Task
- All Implemented Interfaces:
RequestFuture,Runnable
- Direct Known Subclasses:
AbstractConnectionTask,SftpClientTask
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.sshtools.common.ssh.ConnectionAwareTask
con, lastError -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TaskofRunnable(SshConnection con, Task.TaskRunnable<T> runnable) Methods inherited from class com.sshtools.common.ssh.ConnectionAwareTask
doTask, getLastError, runMethods inherited from class com.sshtools.common.ssh.AbstractRequestFuture
addFutureListener, done, isDone, isSuccess, waitFor, waitForeverMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sshtools.common.ssh.RequestFuture
isDoneAndSuccess
-
Constructor Details
-
Task
-
Task
-
-
Method Details
-
ofRunnable
-