Class GetSystemTypeResult

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

public class GetSystemTypeResult extends AsyncResult
Result of executing a literal command on the server
Version:
$Revision$
Author:
Bruce Blackshaw
  • Constructor Details

    • GetSystemTypeResult

      public GetSystemTypeResult()
  • Method Details

    • endAsync

      public String 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
    • getSystemType

      public String getSystemType()
      Get the system type
      Returns:
      result strings
    • setSystemType

      public void setSystemType(String systemType)
      Set the system type
      Parameters:
      systemType - result returned by server