Interface ScheduleListener

  • All Known Implementing Classes:
    SchedulePlotter, TestScheduleListener

    public interface ScheduleListener
    Interface for listeners that receive schedule messages.
    Since:
    Ptolemy II 2.0
    Version:
    $Id$
    Author:
    Johan Eker
    See Also:
    NamedObj
    Pt.AcceptedRating:
    Red (johane)
    Pt.ProposedRating:
    Red (johane)
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void event​(java.lang.String actorName, double time, int scheduleEvent)
      React to the given scheduling event.
    • Method Detail

      • event

        void event​(java.lang.String actorName,
                   double time,
                   int scheduleEvent)
        React to the given scheduling event.
        Parameters:
        actorName - The name of the actor involved in the event.
        time - The time of the event.
        scheduleEvent - One of RESET_DISPLAY, TASK_SLEEPING, TASK_BLOCKED or TASK_RUNNING.