Class ConfigKeyRefreshPhaseStatus
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.ConfigKeyRefreshPhaseStatus
To be used as a wrapper class for when creating the ConfigAppKeyStatus 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
ConstructorsConstructorDescriptionConfigKeyRefreshPhaseStatus
(AccessMessage message) Constructs the ConfigAppKeyStatus mMessage. -
Method Summary
Modifier and TypeMethodDescriptionfinal int
Returns the global index of the net key.final int
Returns the opCode of this messagefinal int
Returns the current key refresh phase.final boolean
Returns if the message was successfulMethods 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
-
ConfigKeyRefreshPhaseStatus
Constructs the ConfigAppKeyStatus mMessage.- Parameters:
message
- Access Message
-
-
Method Details
-
getOpCode
public final int getOpCode()Description copied from class:MeshMessage
Returns the opCode of this message- Specified by:
getOpCode
in classMeshMessage
- Returns:
- opcode
-
getNetKeyIndex
public final int getNetKeyIndex()Returns the global index of the net key.- Returns:
- netkey index
-
getTransition
public final int getTransition()Returns the current key refresh phase. -
isSuccessful
public final boolean isSuccessful()Returns if the message was successful- Returns:
- true if the message was successful or false otherwise
-