Interface SimulationDockService

All Known Implementing Classes:
SimulationDockServiceImpl

public interface SimulationDockService
  • Method Details

    • load

      void load(AbstractSimulationConfig config, byte[] simulationBundle, boolean isRemoteRun)
      Takes a byte array containing a bundle jar which contains the code for a single simulation. Installs, and prepares the simulation.
      Parameters:
      config - The simulation configuration object describing simulation parameters
      simulationBundle - The jar file of the bundle containing the simulation
      isRemoteRun - True of the simulation should run remotely and has no access to the local sensorframework
    • simulate

      void simulate(AbstractSimulationConfig config, byte[] simulationBundle, boolean isRemoteRun)
      Takes a byte array containing a bundle jar which contains the code for a single simulation. Installs, starts, and runs the contained simulation.
      Parameters:
      config - The simulation configuration object describing simulation parameters
      simulationBundle - The jar file of the bundle containing the simulation
      isRemoteRun - True of the simulation should run remotely and has no access to the local sensorframework
    • getDockId

      String getDockId()
      Returns the ID of this simulation dock
      Returns:
      The ID of the simulation dock
    • stopSimulation

      void stopSimulation()
      Cancels the running simulation
    • suspend

      void suspend()
    • resume

      void resume()
    • step

      void step()
    • getSimuComStatus

      SimuComStatus getSimuComStatus()