Class ConnectResult

java.lang.Object
com.enterprisedt.net.ftp.async.AsyncResult
com.enterprisedt.net.ftp.async.ConnectResult

public class ConnectResult extends AsyncResult
Holds the result of connecting to the server
Version:
$Revision$
Author:
Bruce Blackshaw
  • Constructor Details

    • ConnectResult

      public ConnectResult()
  • Method Details

    • addTask

      public void addTask(com.enterprisedt.net.ftp.async.internal.ConnectTask task)
    • getCurrentDir

      public String getCurrentDir()
    • setCurrentDir

      public void setCurrentDir(String currentDir)
    • cancelTask

      public boolean cancelTask() throws FTPException
      Cancel the asynchronous task that this result is for.
      Overrides:
      cancelTask in class AsyncResult
      Returns:
      Throws:
      FTPException
    • addThrowable

      public void addThrowable(Throwable throwable)
    • getAllThrowables

      public Vector getAllThrowables()
    • endAsync

      public void endAsync() throws FTPException, IOException
      This method is called to complete the asynchronous operation. If the operation is not completed, this method will block until it has. It is normally called from within a callback, which ensures that the operation has indeed already completed.
      Throws:
      IOException
      FTPException