com.enterprisedt.net.ftp.async
Class GetSystemTypeResult

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

public class GetSystemTypeResult
extends AsyncResult

Result of executing a literal command on the server

Version:
$Revision: 1.1 $
Author:
Bruce Blackshaw

Constructor Summary
GetSystemTypeResult()
           
 
Method Summary
 java.lang.String endAsync()
          This method is called to complete the asynchronous operation.
 java.lang.String getSystemType()
          Get the system type
 void setSystemType(java.lang.String systemType)
          Set the system type
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetSystemTypeResult

public GetSystemTypeResult()
Method Detail

endAsync

public java.lang.String endAsync()
                          throws FTPException,
                                 java.io.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:
java.io.IOException
FTPException

getSystemType

public java.lang.String getSystemType()
Get the system type

Returns:
result strings

setSystemType

public void setSystemType(java.lang.String systemType)
Set the system type

Parameters:
systemType - result returned by server


Copyright © 2001-2006 Enterprise Distributed Technologies Ltd. All Rights Reserved.