Class OneRunRunner

java.lang.Object
repast.simphony.ws.OneRunRunner
All Implemented Interfaces:
RunListener

public class OneRunRunner extends Object implements RunListener
Runs a single run of a simulation.
Author:
Nick Collier
  • Field Details

    • controller

      protected repast.simphony.ws.OneRunRunner.ORBController controller
    • pause

      protected boolean pause
    • monitor

      protected Object monitor
  • Constructor Details

  • Method Details

    • run

      public void run()
    • onPicked

      public void onPicked(String json)
    • initSim

      public void initSim()
    • step

      public void step()
    • start

      public void start()
    • pause

      public void pause()
    • stop

      public void stop()
    • shutdown

      public void shutdown()
    • paused

      public void paused()
      Invoked when the current run has been paused.
      Specified by:
      paused in interface RunListener
    • restarted

      public void restarted()
      Invoked when the current run has been restarted after a pause.
      Specified by:
      restarted in interface RunListener
    • started

      public void started()
      Invoked when the current run has been started.
      Specified by:
      started in interface RunListener
    • stopped

      public void stopped()
      Invoked when the current run has been stopped. This will stop this thread from waiting for the current run to finish.
      Specified by:
      stopped in interface RunListener
    • main

      public static void main(String[] args)