Class ConfigRelayStatus
java.lang.Object
org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
org.openremote.agent.protocol.bluetooth.mesh.transport.ConfigStatusMessage
org.openremote.agent.protocol.bluetooth.mesh.transport.ConfigRelayStatus
To be used as a wrapper class for when creating the ConfigRelayStatus message.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.ConfigStatusMessage
ConfigStatusMessage.StatusCodeNames -
Field Summary
FieldsFields inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.ConfigStatusMessage
mStatusCode, mStatusCodeNameFields inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
messageTtl, mMessage -
Constructor Summary
ConstructorsConstructorDescriptionConfigRelayStatus(AccessMessage message) Constructs a ConfigRelayStatus message. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the opCode of this messageintgetRelay()Returns the RelaySettings.RelayState of the nodeintReturns the Relay retransmit count set in this messageintReturns the Relay retransmit interval steps set in this messageMethods inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.ConfigStatusMessage
decode, getAid, getAkf, getParameters, getStatusCode, getStatusCodeNameMethods inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
getAszmic, getDst, getMessage, getMessageTtl, getSrc, setMessageTtl
-
Field Details
-
LOG
-
-
Constructor Details
-
ConfigRelayStatus
Constructs a ConfigRelayStatus message.- Parameters:
message- Access message received- Throws:
IllegalArgumentException- if any illegal arguments are passed
-
-
Method Details
-
getOpCode
public int getOpCode()Description copied from class:MeshMessageReturns the opCode of this message- Specified by:
getOpCodein classMeshMessage- Returns:
- opcode
-
getRelay
public int getRelay()Returns the RelaySettings.RelayState of the node -
getRelayRetransmitCount
public int getRelayRetransmitCount()Returns the Relay retransmit count set in this message- Returns:
- Relay retransmit count
-
getRelayRetransmitIntervalSteps
public int getRelayRetransmitIntervalSteps()Returns the Relay retransmit interval steps set in this message- Returns:
- Relay retransmit interval steps
-