Package org.openremote.manager.simulator
Class SimulatorService
java.lang.Object
org.openremote.manager.simulator.SimulatorService
- All Implemented Interfaces:
org.openremote.model.ContainerService
Connects the client/UI to the
SimulatorProtocol.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AgentServiceprotected AssetStorageServiceprotected ClientEventServiceprotected ManagerIdentityServiceFields inherited from interface org.openremote.model.ContainerService
DEFAULT_PRIORITY, HIGH_PRIORITY, LOW_PRIORITY, MED_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintprotected org.openremote.model.simulator.SimulatorStategetSimulatorState(org.openremote.agent.protocol.simulator.SimulatorProtocol protocolInstance) Get info about all attributes linked to this instance (for frontend usage)voidinit(org.openremote.model.Container container) protected voidonRequestSimulatorState(org.openremote.model.simulator.RequestSimulatorState event) voidstart(org.openremote.model.Container container) voidstop(org.openremote.model.Container container) toString()
-
Field Details
-
agentService
-
managerIdentityService
-
assetStorageService
-
clientEventService
-
-
Constructor Details
-
SimulatorService
public SimulatorService()
-
-
Method Details
-
getPriority
public int getPriority()- Specified by:
getPriorityin interfaceorg.openremote.model.ContainerService
-
init
- Specified by:
initin interfaceorg.openremote.model.ContainerService- Throws:
Exception
-
start
- Specified by:
startin interfaceorg.openremote.model.ContainerService- Throws:
Exception
-
stop
- Specified by:
stopin interfaceorg.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
-