Class RunnerSupport

java.lang.Object
repast.simphony.ws.RunnerSupport

public class RunnerSupport extends Object
Manages RunListeners.
Author:
Nick Collier
  • Field Details

  • Constructor Details

    • RunnerSupport

      public RunnerSupport()
  • Method Details

    • addRunListener

      public void addRunListener(RunListener listener)
      Adds the specified listener to the list of RunListener-s to be notified of any run related events, such as stopped, started, and so on.
      Parameters:
      listener - the listener to add.
    • removeRunListener

      public void removeRunListener(RunListener listener)
    • fireStartedMessage

      protected void fireStartedMessage()
      Fires a started message to all registered run listeners.
    • fireStoppedMessage

      protected void fireStoppedMessage()
      Fires a stopped message to all registered run listeners.
    • firePausedMessage

      protected void firePausedMessage()
      Fires a paused message to all registered run listeners.
    • fireRestartedMessage

      protected void fireRestartedMessage()
      Fires a restarted message to all registered run listeners.