ptolemy.actor
Interface ActorFiringListener


public interface ActorFiringListener

A FiringEventListener listens for events that are issued during AtomicActor's iterations. Specifically before and after fire events. The implementation collects firing events during workflow execution.

Currently this class is being used in Kepler by the ProvenanceExecutionListener for saving actor's firings with provenance information. In the future, listeners will use this interface to initiate "smart" reruns or for fault tolerance.

Since:
Ptolemy II 5.2
Version:
$Id: ActorFiringListener.java 57040 2010-01-27 20:52:32Z cxh $
Author:
Efrat Frank
See Also:
AtomicActor
Accepted Rating:
Proposed Rating:
Red (jaeger)

Method Summary
 void firingEvent(FiringEvent event)
          Report an actor firing state.
 

Method Detail

firingEvent

void firingEvent(FiringEvent event)
Report an actor firing state. This method will be called when an begins/finishes firing iteration.

Parameters:
event - The event to report.