org.netxms.api.client
Interface ProgressListener


public interface ProgressListener

Generic progress listener interface


Method Summary
 void markProgress(long workDone)
          Called by entity performing operation to indicate progress
 void setTotalWorkAmount(long workTotal)
          Called by entity performing operation to indicate total amount of work to be done
 

Method Detail

setTotalWorkAmount

void setTotalWorkAmount(long workTotal)
Called by entity performing operation to indicate total amount of work to be done

Parameters:
workTotal -

markProgress

void markProgress(long workDone)
Called by entity performing operation to indicate progress

Parameters:
workDone - raw value of work done (for example, number of bytes transferred)


Copyright © 2012. All Rights Reserved.