Class ConfigProxyStatus
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.ConfigProxyStatus
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
Fields 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
ConstructorsConstructorDescriptionConfigProxyStatus(AccessMessage message) Constructs a ConfigRelayStatus message. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the opCode of this messageintReturns the current ConfigProxySet.ProxyState of the nodebooleanReturns true if the proxy feature is currently enabled on the node and false otherwiseMethods 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
-
Constructor Details
-
ConfigProxyStatus
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
-
getProxyState
public int getProxyState()Returns the current ConfigProxySet.ProxyState of the node -
isProxyFeatureEnabled
public boolean isProxyFeatureEnabled()Returns true if the proxy feature is currently enabled on the node and false otherwise
-