tuwien.auto.calimero.buffer
Interface Configuration.RequestFilter

All Known Implementing Classes:
CommandFilter, StateFilter
Enclosing interface:
Configuration

public static interface Configuration.RequestFilter

Filter applied on requests to the network buffer from users or components working with the network buffer.

In general, the methods of filter implementations should not throw any (runtime) exception, since there probably won't be any reasonable error handling in the surrounding method invoking the filter.


Method Summary
 CEMILData request(KNXAddress dst, Configuration c)
          Requests data for address dst from the network buffer.
 

Method Detail

request

CEMILData request(KNXAddress dst,
                  Configuration c)
Requests data for address dst from the network buffer.

How a buffer is searched and data is matched depends on the individual filter rules. A filter might use provided information of the configuration if necessary.

Parameters:
dst - address to request data for
c - the configuration this filter belongs to
Returns:
the cEMI data on match in buffer, null otherwise