Package com.enterprisedt.net.ftp.async
Class GetSystemTypeResult
java.lang.Object
com.enterprisedt.net.ftp.async.AsyncResult
com.enterprisedt.net.ftp.async.GetSystemTypeResult
Result of executing a literal command on the server
- Version:
- $Revision$
- Author:
- Bruce Blackshaw
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionendAsync()This method is called to complete the asynchronous operation.Get the system typevoidsetSystemType(String systemType) Set the system typeMethods 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
-
GetSystemTypeResult
public GetSystemTypeResult()
-
-
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
-
getSystemType
Get the system type- Returns:
- result strings
-
setSystemType
Set the system type- Parameters:
systemType- result returned by server
-