Your browser does not allow storing cookies. We recommend enabling them.


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.





Want to see how PrivX can help your organisation?

Are you a DEVELOPER accessing cloud hosts, are you a IT ADMIN managing access & credentials in your corporation, are you BUSINESS MANAGER and want to save money or are you responsible of IT SECURITY in DevOps