java.lang.Object
org.openremote.agent.protocol.bluetooth.mesh.NodeKey

public class NodeKey extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    NodeKey(int index)
    Constructs a NodeKey
    NodeKey(int index, boolean updated)
    Constructs a NodeKey
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the index of the added key
    boolean
    Returns true if the key has been updated
    void
    setUpdated(boolean updated)
    Sets the updated state of the network/application key

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 key
      updated - 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