Class ConnectionAwareTask

java.lang.Object
com.sshtools.common.ssh.AbstractRequestFuture
com.sshtools.common.ssh.ConnectionAwareTask
All Implemented Interfaces:
RequestFuture, Runnable

public abstract class ConnectionAwareTask extends AbstractRequestFuture implements Runnable
  • Field Details

  • Constructor Details

    • ConnectionAwareTask

      public ConnectionAwareTask(SshConnection con)
  • Method Details

    • doTask

      protected abstract void doTask() throws Throwable
      Throws:
      Throwable
    • run

      public final void run()
      Specified by:
      run in interface Runnable
    • getLastError

      public Throwable getLastError()