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.




 

 
What to read next:

  • Reduce Secure Shell risk. Get to know the NIST 7966.



    The NISTIR 7966 guideline from the Computer Security Division of NIST is a direct call to action for organizations regardless of industry and is a mandate for the US Federal government.
    Download now
  • ISACA Practitioner Guide for SSH



    With contributions from practitioners, specialists and SSH.COM experts, the ISACA “SSH: Practitioner Considerations” guide is vital best practice from the compliance and audit community.
    Download now