org.javaseis.util
Interface PaciferCallback


public interface PaciferCallback

Interface that can be implemented by a caller to allow the pacifier to callback with updates on the specified interval.


Method Summary
 void percentDone(float newValue)
          Callback to the implementor of the interface to provide the current percent complete of the task.
 void statusMsg(java.lang.String comment)
          This method gets called only when the increment has been exceeded or if the timeout has been exceeded.
 

Method Detail

percentDone

void percentDone(float newValue)
Callback to the implementor of the interface to provide the current percent complete of the task. This call should return quickly because it will get called a lot. If any heavier processing needs to happen as a result of a change in the percent done it should happen outside this method.


statusMsg

void statusMsg(java.lang.String comment)
This method gets called only when the increment has been exceeded or if the timeout has been exceeded.