com.glub.secureftp.bean
Interface Progress


public interface Progress

The Progress interface is responsible for reporting the progress of a data transfer from the FTP server.

Since:
2.0
Version:
$Revision: 47 $, $Date: 2009-05-16 10:10:12 -0700 (Sat, 16 May 2009) $

Method Summary
 void finishProgress()
          Called at the end of the data transfer.
 void startProgress()
          Called at the beginning of the data transfer.
 void updateProgress(long current, long total)
          Called repeatedly during the data transfer.
 

Method Detail

startProgress

void startProgress()
Called at the beginning of the data transfer.


updateProgress

void updateProgress(long current,
                    long total)
Called repeatedly during the data transfer.

Parameters:
current - the current amount of bytes transferred.
total - the total amount of bytes in the transfer.

finishProgress

void finishProgress()
Called at the end of the data transfer.



Copyright © 2000-12 Glub Tech, Inc. All Rights Reserved.