ptolemy.actor
Interface IOPortEventListener


public interface IOPortEventListener

Listen for events that are issued during the send(), broadcast(), sendInside(), get(), getInside() function calls of an IOPort. In general, an object that implements this interface will be collecting tokens for storage.

Currently this class is being used in Kepler by the ProvenanceExecutionListener for saving tokens with provenance information. In the future, listeners will use this interface to save tokens in a cache for use during "smart" reruns or for fault tolerance.

Since:
Ptolemy II 7.0
Version:
$Id: IOPortEventListener.java 48505 2008-02-19 03:52:32Z cxh $
Author:
Oscar Barney, Norbert Podhorszki
See Also:
IOPort
Accepted Rating:
Red (barney)
Proposed Rating:
Red (barney)

Method Summary
 void portEvent(IOPortEvent event)
          Report a port activity.
 

Method Detail

portEvent

void portEvent(IOPortEvent event)
Report a port activity. This method is called when a token has been sent or recevied from one IOPort to another.

Parameters:
event - The event to report.