Interface SimulationDockService
- All Known Implementing Classes:
SimulationDockServiceImpl
public interface SimulationDockService
-
Method Summary
Modifier and TypeMethodDescriptionReturns the ID of this simulation dockvoid
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
Cancels the running simulationvoid
suspend()
-
Method Details
-
load
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
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()
-