Class NodeKey
java.lang.Object
org.openremote.agent.protocol.bluetooth.mesh.NodeKey
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetIndex()Returns the index of the added keybooleanReturns true if the key has been updatedvoidsetUpdated(boolean updated) Sets the updated state of the network/application key
-
Constructor Details
-
NodeKey
public NodeKey(int index) Constructs a NodeKey- Parameters:
index- Index of the key
-
NodeKey
public NodeKey(int index, boolean updated) Constructs a NodeKey- Parameters:
index- Index of the keyupdated- If the key has been updated
-
-
Method Details
-
getIndex
public int getIndex()Returns the index of the added key -
isUpdated
public boolean isUpdated()Returns true if the key has been updated -
setUpdated
public void setUpdated(boolean updated) Sets the updated state of the network/application key- Parameters:
updated- true if updated and false otherwise
-