com.enterprisedt.net.ftp.async
Class RemoteTransferResult
java.lang.Object
com.enterprisedt.net.ftp.async.AsyncResult
com.enterprisedt.net.ftp.async.RemoteTransferResult
- Direct Known Subclasses:
- RemoteFileResult, TransferMultipleResult
public class RemoteTransferResult
- extends AsyncResult
Base class for result classes that deal with remote files.
- Version:
- $Revision: 1.1 $
- Author:
- Bruce Blackshaw
| 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 |
DEFAULT_NOTIFY_INTERVAL
public static final int DEFAULT_NOTIFY_INTERVAL
- See Also:
- Constant Field Values
RemoteTransferResult
public RemoteTransferResult()
getNotifyInterval
public int getNotifyInterval()
- Get the interval used for progress notification of transfers.
- Returns:
- number of bytes between each notification.
setNotifyInterval
public void setNotifyInterval(int notifyInterval)
- Set the interval used for progress notification of transfers.
- Parameters:
notifyInterval - number of bytes between each notification.
getMinTransferNotifyPeriod
public int getMinTransferNotifyPeriod()
- Get the minimum period before a transfer callback.
- Returns:
- the minimum notify period (milliseconds).
setMinTransferNotifyPeriod
public void setMinTransferNotifyPeriod(int minTransferNotifyPeriod)
- Set the minimum period before a transfer callback.
- Parameters:
minTransferNotifyPeriod - the minimum notify period (milliseconds).
Copyright © 2001-2009 Enterprise Distributed Technologies Ltd. All Rights Reserved.