Package ptolemy.actor

Interface ExecutionListener

    • Method Detail

      • executionError

        void executionError​(Manager manager,
                            java.lang.Throwable throwable)
        Report an execution failure. This method will be called when an exception or error is caught by a manager. Exceptions are reported this way when the run() or startRun() methods of the manager are used to perform the execution. If instead the execute() method is used, then exceptions are not caught, and are instead just passed up to the caller of the execute() method. Those exceptions are not reported here (unless, of course, the caller of the execute() method does so).
        Parameters:
        manager - The manager controlling the execution.
        throwable - The throwable to report.
      • executionFinished

        void executionFinished​(Manager manager)
        Report that the current execution has finished and the wrapup sequence has completed normally. The number of successfully completed iterations can be obtained by calling getIterationCount() on the manager.
        Parameters:
        manager - The manager controlling the execution.
      • managerStateChanged

        void managerStateChanged​(Manager manager)
        Report that the manager has changed state. To access the new state, use the getState() method of Manager.
        Parameters:
        manager - The manager controlling the execution.
        See Also:
        Manager.getState()