Class SimulatorService

java.lang.Object
org.openremote.manager.simulator.SimulatorService
All Implemented Interfaces:
org.openremote.model.ContainerService

public class SimulatorService extends Object implements org.openremote.model.ContainerService
Connects the client/UI to the SimulatorProtocol.
  • Field Details

  • Constructor Details

    • SimulatorService

      public SimulatorService()
  • Method Details

    • getPriority

      public int getPriority()
      Specified by:
      getPriority in interface org.openremote.model.ContainerService
    • init

      public void init(org.openremote.model.Container container) throws Exception
      Specified by:
      init in interface org.openremote.model.ContainerService
      Throws:
      Exception
    • start

      public void start(org.openremote.model.Container container) throws Exception
      Specified by:
      start in interface org.openremote.model.ContainerService
      Throws:
      Exception
    • stop

      public void stop(org.openremote.model.Container container) throws Exception
      Specified by:
      stop in interface org.openremote.model.ContainerService
      Throws:
      Exception
    • onRequestSimulatorState

      protected void onRequestSimulatorState(org.openremote.model.simulator.RequestSimulatorState event)
    • getSimulatorState

      protected org.openremote.model.simulator.SimulatorState getSimulatorState(org.openremote.agent.protocol.simulator.SimulatorProtocol protocolInstance)
      Get info about all attributes linked to this instance (for frontend usage)
    • toString

      public String toString()
      Overrides:
      toString in class Object