ptolemy.actor
Interface TokenSentListener


Deprecated. Use IOPortEventListener instead.

public interface TokenSentListener

A TokenSentListener listens for events that are issued during the send(), broadcast() and sendInside() 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 5.2
Version:
$Id: TokenSentListener.java 57040 2010-01-27 20:52:32Z cxh $
Author:
Oscar Barney
See Also:
IOPort
Accepted Rating:
Proposed Rating:
Red (barney)

Method Summary
 void tokenSentEvent(TokenSentEvent event)
          Deprecated. Report an that a token was sent.
 

Method Detail

tokenSentEvent

void tokenSentEvent(TokenSentEvent event)
Deprecated. 
Report an that a token was sent. This method will be called when a token has been sent from one IOPort to another.

Parameters:
event - The event to report.