Package org.netxms.client
Interface ProgressListener
-
public interface ProgressListenerGeneric progress listener interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidmarkProgress(long workDone)Called by entity performing operation to indicate progressvoidsetTotalWorkAmount(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- The amount of total work
-
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)
-
-