|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.enterprisedt.net.ftp.async.AsyncResult
com.enterprisedt.net.ftp.async.RemoteFileResult
public class RemoteFileResult
Base class for result classes that deal with remote files.
| Field Summary | |
|---|---|
protected boolean |
cancelled
|
static int |
DEFAULT_NOTIFY_INTERVAL
|
protected java.lang.String |
remoteFileName
|
| Constructor Summary | |
|---|---|
RemoteFileResult(java.lang.String remoteFileName)
Constructor |
|
| Method Summary | |
|---|---|
void |
addProgressMonitor(AsyncEventListener monitor)
Add a progress monitor for this transfer |
int |
getMinTransferNotifyPeriod()
Get the minimum period before a transfer callback. |
int |
getNotifyInterval()
Get the interval used for progress notification of transfers. |
java.lang.String |
getRemoteFileName()
Get the remote file's name |
boolean |
isCancelled()
|
void |
setMinTransferNotifyPeriod(int minTransferNotifyPeriod)
Set the minimum period before a transfer callback. |
void |
setNotifyInterval(int notifyInterval)
Set the interval used for progress notification of transfers. |
| 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 |
| Field Detail |
|---|
public static final int DEFAULT_NOTIFY_INTERVAL
protected java.lang.String remoteFileName
protected boolean cancelled
| Constructor Detail |
|---|
public RemoteFileResult(java.lang.String remoteFileName)
remoteFileName - the remote file's name| Method Detail |
|---|
public java.lang.String getRemoteFileName()
public boolean isCancelled()
public void addProgressMonitor(AsyncEventListener monitor)
monitor - progress monitorpublic int getNotifyInterval()
public void setNotifyInterval(int notifyInterval)
notifyInterval - number of bytes between each notification.public int getMinTransferNotifyPeriod()
public void setMinTransferNotifyPeriod(int minTransferNotifyPeriod)
minTransferNotifyPeriod - the minimum notify period (milliseconds).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||