Package com.enterprisedt.net.ftp.async
Class DirectoryListCallbackResult
java.lang.Object
com.enterprisedt.net.ftp.async.AsyncResult
com.enterprisedt.net.ftp.async.DirectoryListCallbackResult
Holds the result of listing a directory
- Version:
- $Revision$
- Author:
- Bruce Blackshaw
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidendAsync()This method is called to complete the asynchronous operation.Get the name of the listed directoryvoidsetRemoteDirectory(String remoteDirectory) Set the name of the listed directoryMethods 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
-
DirectoryListCallbackResult
-
-
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
-
getRemoteDirectory
Get the name of the listed directory- Returns:
- directory name
-
setRemoteDirectory
Set the name of the listed directory- Parameters:
remoteDirectory-
-