com.parabon.client
Interface TaskProgressListener

All Superinterfaces:
TaskEventListener

public interface TaskProgressListener
extends TaskEventListener

Listener for task progress events.


Method Summary
 void progressReported(TaskProgressEvent event)
          Called when task progress changes or possibly when other events occur -- that is, the receipt of a TaskProgressEvent does not guarantee that progress has changed or even that progress is available, and moreover no guarantees are made that a TaskProgressEvent will be received even when progress does change.
 

Method Detail

progressReported

void progressReported(TaskProgressEvent event)
Called when task progress changes or possibly when other events occur -- that is, the receipt of a TaskProgressEvent does not guarantee that progress has changed or even that progress is available, and moreover no guarantees are made that a TaskProgressEvent will be received even when progress does change.

The event given is valid only during the lifetime of the listener method invocation, and it should not be maintained outside this scope or used after the method completes; any attempt to do so will result in undefined behavior.

Parameters:
event - Valid only for the length of the method invocation