Class CommunicationAspectMonitor

    • Field Detail

      • plot

        public Plot plot
        The plotter.
    • Method Detail

      • event

        public void event​(CommunicationAspect qm,
                          Actor source,
                          int messageId,
                          int messageCnt,
                          double time,
                          CommunicationAspectListener.EventType event)
        The event is displayed.
        Specified by:
        event in interface CommunicationAspectListener
        Parameters:
        qm - 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.
        time - The time when the event happened.
        event - The type of the event. e.g. message received, message sent, ...