Package com.enterprisedt.net.ftp.async
Class ExecuteCommandResult
java.lang.Object
com.enterprisedt.net.ftp.async.AsyncResult
com.enterprisedt.net.ftp.async.ExecuteCommandResult
Result of executing a literal command on the server
- Version:
- $Revision$
- Author:
- Bruce Blackshaw
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.enterprisedt.net.ftp.async.AsyncResult
cancelTask, endAsyncCalled, endAsyncInternal, getClient, getLocalContext, getTag, getTask, getTaskDescription, getTaskId, getThrowable, isCompleted, isSuccessful, notifyComplete, setAsIfCompleted, setClient, setEndAsyncCalled, setLocalContext, setSuccessful, setTag, setTask, setThrowable, waitTillComplete
-
Constructor Details
-
ExecuteCommandResult
-
-
Method Details
-
endAsync
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:
IOExceptionFTPException
-
getResult
Get the result of applying the command- Returns:
- result strings
-
setResult
Set the command result string- Parameters:
result- result returned by server
-
getCommand
Get the literal command executed- Returns:
- directory name
-