3 #ifndef _MADARA_FILTERS_ENDPOINT_CLEAR_H_ 4 #define _MADARA_FILTERS_ENDPOINT_CLEAR_H_ 22 #include "madara/MADARA_export.h" 56 void add_trusted_originator (
57 const std::vector <std::string> & originators);
63 void add_trusted_originator (
const std::string & originator);
70 void clear_trusted_originators (
void);
113 #endif // _MADARA_FILTERS_ENDPOINT_CLEAR_H_
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.
Provides context about the transport.
This class stores a map of strings to KaRL variables.
::std::map< std::string, KnowledgeRecord > KnowledgeMap
std::map< std::string, bool > trusted_originators_
originators that are trusted to prompt a clear of endpoints
bool initialized_
Tracks if the peers_ map has been initialized.
Copyright (c) 2015 Carnegie Mellon University.
std::string prefix_
The context.
Provides an interface for external functions into the MADARA KaRL variable settings.