MADARA
3.1.8
|
Abstract base class for implementing individual record filters via a functor interface. More...
#include <RecordFilter.h>
Public Member Functions | |
virtual | ~RecordFilter () |
Destructor. More... | |
virtual knowledge::KnowledgeRecord | filter (knowledge::FunctionArguments &args, knowledge::Variables &vars)=0 |
User-implementable method for performing a filter on network data. More... | |
Abstract base class for implementing individual record filters via a functor interface.
When subclassing this class, create a new instance with the new operator, and the pointer will be managed by the underlying MADARA infrastructure.
Definition at line 33 of file RecordFilter.h.
|
inlinevirtual |
Destructor.
Definition at line 39 of file RecordFilter.h.
|
pure virtual |
User-implementable method for performing a filter on network data.
This is a pure abstract function that must be overridden when implementing a subclass.
args | arguments to the filter args[0] is the value of the record args[1] is the name of the record args[2] is the type of operation args[3] is the send bandwidth usage in B/s args[4] is the total bandwidth usage in B/s args[5] is the send timestamp in seconds args[6] is the receive timestamp in seconds args[7] is the knowledge domain args[8] is the originator id |
vars | variable context for querying current state |