com.parabon.client
Interface UniversalTaskListener

All Superinterfaces:
TaskEventListener

public interface UniversalTaskListener
extends TaskEventListener

Listener for all task events.


Method Summary
 void eventReceived(TaskEvent event)
          Called when any TaskEvent is generated, whether it contains results, an exception, intermediate results, progress, a checkpoint, or none of these pieces of information.
 

Method Detail

eventReceived

void eventReceived(TaskEvent event)
Called when any TaskEvent is generated, whether it contains results, an exception, intermediate results, progress, a checkpoint, or none of these pieces of information.

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