3 #ifndef _MADARA_FILTERS_ENDPOINT_CLEAR_H_
4 #define _MADARA_FILTERS_ENDPOINT_CLEAR_H_
22 #include "madara/MadaraExport.h"
55 void add_trusted_originator(
const std::vector<std::string>& originators);
61 void add_trusted_originator(
const std::string& originator);
68 void clear_trusted_originators(
void);
Abstract base class for implementing aggregate record filters via a functor interface.
Filter for deleting endpoints, usually when new endpoints have been discovered.
knowledge::containers::Map endpoints_
A map of discovered peers.
bool initialized_
Tracks if the peers_ map has been initialized.
std::string prefix_
The context.
std::map< std::string, bool > trusted_originators_
originators that are trusted to prompt a clear of endpoints
Provides an interface for external functions into the MADARA KaRL variable settings.
This class stores a map of strings to KaRL variables.
Provides context about the transport.
::std::map< std::string, KnowledgeRecord > KnowledgeMap
Copyright(c) 2020 Galois.