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, mStatusCodeName
Fields 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 TypeMethodDescriptionint
Returns the opCode of this messageint
Returns the current ConfigProxySet.ProxyState of the nodeboolean
Returns 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, getStatusCodeName
Methods 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:MeshMessage
Returns the opCode of this message- Specified by:
getOpCode
in 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
-