java.lang.Object
org.openremote.agent.protocol.bluetooth.mesh.utils.ProxyFilter

public class ProxyFilter extends Object
Contains the proxy filter configuration set to a node
  • Constructor Details

    • ProxyFilter

      public ProxyFilter(ProxyFilterType filterType)
      Constructs the proxy filter
      Parameters:
      filterType - Filter type based on
  • Method Details

    • getFilterType

      public ProxyFilterType getFilterType()
      Returns the ProxyFilterType that was set
    • getAddresses

      public List<AddressArray> getAddresses()
      Returns the list of addresses containing AddressArray added to the proxy filter
    • addAddress

      public void addAddress(AddressArray addressArray)
      Adds an address to the ProxyFilter
      Parameters:
      addressArray - address to be added
    • contains

      public final boolean contains(byte[] address)
      Checks is the address exists within the list of proxy filter addresses.

      Currently does not support virtual addresses.

      Parameters:
      address - Unicast, Group address
    • removeAddress

      public void removeAddress(AddressArray addressArray)
      Removes an address from the ProxyFilter
      Parameters:
      addressArray - address to be removed