Package ptolemy.actor

Interface CommunicationAspectListener

  • All Known Implementing Classes:
    CommunicationAspectMonitor

    public interface CommunicationAspectListener
    This interface defines a listener for communication aspects.
    Since:
    Ptolemy II 10.0
    Version:
    $Id$
    Author:
    Patricia Derler
    Pt.AcceptedRating:
    Red (derler)
    Pt.ProposedRating:
    Yellow (derler)
    • Method Detail

      • event

        void event​(CommunicationAspect communicationAspect,
                   Actor source,
                   int messageId,
                   int messageCnt,
                   double time,
                   CommunicationAspectListener.EventType eventType)
        The event that is sent by the communication aspect and processed by the listener.
        Parameters:
        communicationAspect - The communication aspect that sent the event.
        source - The source actor that caused the event in the communication aspect.
        messageId - The ID of the message that caused the event in the communication aspect.
        messageCnt - The amount of messages currently being processed by the communication aspect.
        eventType - The type of the event.
        time - The timestamp of the event.