Your browser does not allow this site to store cookies and other data. Some functionality on this site may not work without them. See Privacy Policy for details on how we would use cookies.


com.ssh.sft
Interface ProgressListener


public interface ProgressListener

The listener interface for the progression of a single file operation. When a file operation (e.g. copy) is initiated with an associated ProgressListener, the listener's progress(long) method is periodically called to indicate the status of the ongoing operation. When the operation is finished, the finish() method is called.


Method Summary
 voidfinish()
          Notify the listener that the operation has now finished.
 voidprogress(long progressed)
          Notify the listener that progress has been made in the operation.
 

Method Detail

progress

public void progress(long progressed)
Notify the listener that progress has been made in the operation.

Parameters:
progressed - the length of the splice that has been progressed since the last time this method was called

finish

public void finish()
Notify the listener that the operation has now finished.



===AUTO_SCHEMA_MARKUP===