Class SimulationDockServiceImpl

    • Field Detail

      • LOGGER

        protected static final org.apache.log4j.Logger LOGGER
    • Constructor Detail

      • SimulationDockServiceImpl

        public SimulationDockServiceImpl​(org.osgi.framework.BundleContext context)
    • Method Detail

      • load

        public void load​(AbstractSimulationConfig config,
                         byte[] simulationBundle,
                         boolean isRemoteRun)
        Description copied from interface: SimulationDockService
        Takes a byte array containing a bundle jar which contains the code for a single simulation. Installs, and prepares the simulation.
        Specified by:
        load in interface SimulationDockService
        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

        public void simulate​(AbstractSimulationConfig config,
                             byte[] simulationBundle,
                             boolean isRemoteRun)
        Description copied from interface: SimulationDockService
        Takes a byte array containing a bundle jar which contains the code for a single simulation. Installs, starts, and runs the contained simulation.
        Specified by:
        simulate in interface SimulationDockService
        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