Enum Class AddressType

java.lang.Object
java.lang.Enum<AddressType>
org.openremote.agent.protocol.bluetooth.mesh.utils.AddressType
All Implemented Interfaces:
Serializable, Comparable<AddressType>, Constable

public enum AddressType extends Enum<AddressType>
Address types
  • Enum Constant Details

    • UNASSIGNED_ADDRESS

      public static final AddressType UNASSIGNED_ADDRESS
    • UNICAST_ADDRESS

      public static final AddressType UNICAST_ADDRESS
    • GROUP_ADDRESS

      public static final AddressType GROUP_ADDRESS
    • ALL_PROXIES

      public static final AddressType ALL_PROXIES
    • ALL_FRIENDS

      public static final AddressType ALL_FRIENDS
    • ALL_RELAYS

      public static final AddressType ALL_RELAYS
    • ALL_NODES

      public static final AddressType ALL_NODES
    • VIRTUAL_ADDRESS

      public static final AddressType VIRTUAL_ADDRESS
  • Method Details

    • values

      public static AddressType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AddressType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getType

      public int getType()
      Returns the address type
    • fromValue

      public static AddressType fromValue(int method)
      Returns the oob method used for authentication
      Parameters:
      method - auth method used
    • getTypeName

      public static String getTypeName(AddressType type)
      Returns the address type name
      Parameters:
      type - Address type