Class ProxyFilter
java.lang.Object
org.openremote.agent.protocol.bluetooth.mesh.utils.ProxyFilter
Contains the proxy filter configuration set to a node
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAddress(AddressArray addressArray) Adds an address to the ProxyFilterfinal booleancontains(byte[] address) Checks is the address exists within the list of proxy filter addresses.Returns the list of addresses containingAddressArrayadded to the proxy filterReturns theProxyFilterTypethat was setvoidremoveAddress(AddressArray addressArray) Removes an address from the ProxyFilter
-
Constructor Details
-
ProxyFilter
Constructs the proxy filter- Parameters:
filterType- Filter type based on
-
-
Method Details
-
getFilterType
Returns theProxyFilterTypethat was set -
getAddresses
Returns the list of addresses containingAddressArrayadded to the proxy filter -
addAddress
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
Removes an address from the ProxyFilter- Parameters:
addressArray- address to be removed
-