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(ScheduledExecutorService executorService, BluetoothMeshNetwork network, ShadowMeshElement element, int appKeyIndex) -
Method Summary
Modifier and TypeMethodDescriptionprotected MeshMessagecreateGetMeshMessage(ApplicationKey applicationKey) protected MeshMessagecreateSetMeshMessage(ApplicationKey applicationKey, Object value) protected intprotected StringvoidonMeshMessageReceived(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(ScheduledExecutorService executorService, BluetoothMeshNetwork network, ShadowMeshElement element, int appKeyIndex)
-
-
Method Details
-
onMeshMessageReceived
- Specified by:
onMeshMessageReceivedin classShadowMeshModel
-
createSetMeshMessage
- Specified by:
createSetMeshMessagein classShadowMeshModel
-
createGetMeshMessage
- Specified by:
createGetMeshMessagein classShadowMeshModel
-
getModelName
- Specified by:
getModelNamein classShadowMeshModel
-
getModelId
protected int getModelId()- Specified by:
getModelIdin classShadowMeshModel
-