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, mStatusCodeName
Fields 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 TypeMethodDescriptionint
Returns the opCode of this messageint
getRelay()
Returns the RelaySettings.RelayState of the nodeint
Returns the Relay retransmit count set in this messageint
Returns 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, getStatusCodeName
Methods 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:MeshMessage
Returns the opCode of this message- Specified by:
getOpCode
in 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
-