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$
Author:
Bruce Blackshaw
  • Field Details

    • DEFAULT_NOTIFY_INTERVAL

      public static final int DEFAULT_NOTIFY_INTERVAL
      See Also:
  • Constructor Details

    • RemoteTransferResult

      public RemoteTransferResult()
  • Method Details

    • 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).