Interface SimulationDockService
-
- All Known Implementing Classes:
SimulationDockServiceImpl
public interface SimulationDockService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDockId()
Returns the ID of this simulation dockSimuComStatus
getSimuComStatus()
void
load(AbstractSimulationConfig config, byte[] simulationBundle, boolean isRemoteRun)
Takes a byte array containing a bundle jar which contains the code for a single simulation.void
resume()
void
simulate(AbstractSimulationConfig config, byte[] simulationBundle, boolean isRemoteRun)
Takes a byte array containing a bundle jar which contains the code for a single simulation.void
step()
void
stopSimulation()
Cancels the running simulationvoid
suspend()
-
-
-
Method Detail
-
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 parameterssimulationBundle
- The jar file of the bundle containing the simulationisRemoteRun
- 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 parameterssimulationBundle
- The jar file of the bundle containing the simulationisRemoteRun
- 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()
-
-