public class ConnectResult extends AsyncResult
| Constructor and Description |
|---|
ConnectResult() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTask(com.enterprisedt.net.ftp.async.internal.ConnectTask task) |
void |
addThrowable(java.lang.Throwable throwable) |
boolean |
cancelTask()
Cancel the asynchronous task that this result is for.
|
void |
endAsync()
This method is called to complete the asynchronous operation.
|
java.util.Vector |
getAllThrowables() |
java.lang.String |
getCurrentDir() |
void |
setCurrentDir(java.lang.String currentDir) |
endAsyncCalled, endAsyncInternal, getClient, getLocalContext, getTag, getTask, getTaskDescription, getTaskId, getThrowable, isCompleted, isSuccessful, notifyComplete, setAsIfCompleted, setClient, setEndAsyncCalled, setLocalContext, setSuccessful, setTag, setTask, setThrowable, waitTillCompletepublic void addTask(com.enterprisedt.net.ftp.async.internal.ConnectTask task)
public java.lang.String getCurrentDir()
public void setCurrentDir(java.lang.String currentDir)
public boolean cancelTask()
throws FTPException
cancelTask in class AsyncResultFTPExceptionpublic void addThrowable(java.lang.Throwable throwable)
public java.util.Vector getAllThrowables()
public void endAsync()
throws FTPException,
java.io.IOException
java.io.IOExceptionFTPExceptionCopyright © 2001-2014 Enterprise Distributed Technologies Ltd. All Rights Reserved.