Class ShadowGenericOnOffModel
java.lang.Object
org.openremote.agent.protocol.bluetooth.mesh.ShadowMeshModel
org.openremote.agent.protocol.bluetooth.mesh.ShadowGenericOnOffModel
-
Field Summary
FieldsFields inherited from class org.openremote.agent.protocol.bluetooth.mesh.ShadowMeshModel
appKeyIndex, element, executorService, meshNetwork
-
Constructor Summary
ConstructorsConstructorDescriptionShadowGenericOnOffModel
(ExecutorService executorService, BluetoothMeshNetwork network, ShadowMeshElement element, int appKeyIndex) -
Method Summary
Modifier and TypeMethodDescriptionprotected MeshMessage
createGetMeshMessage
(ApplicationKey applicationKey) protected MeshMessage
createSetMeshMessage
(ApplicationKey applicationKey, Object value) protected int
protected String
void
onMeshMessageReceived
(MeshMessage meshMessage) Methods inherited from class org.openremote.agent.protocol.bluetooth.mesh.ShadowMeshModel
addSensorValueConsumer, executeSensorValueConsumers, removeSensorValueConsumer, sendGetCommand, sendSetCommand, setAppKeyIndex
-
Field Details
-
LOG
-
-
Constructor Details
-
ShadowGenericOnOffModel
public ShadowGenericOnOffModel(ExecutorService executorService, BluetoothMeshNetwork network, ShadowMeshElement element, int appKeyIndex)
-
-
Method Details
-
onMeshMessageReceived
- Specified by:
onMeshMessageReceived
in classShadowMeshModel
-
createSetMeshMessage
- Specified by:
createSetMeshMessage
in classShadowMeshModel
-
createGetMeshMessage
- Specified by:
createGetMeshMessage
in classShadowMeshModel
-
getModelName
- Specified by:
getModelName
in classShadowMeshModel
-
getModelId
protected int getModelId()- Specified by:
getModelId
in classShadowMeshModel
-