47 libraries_.push_back(make_pair(libname, parameters));
80 bool multi_threading_enabled)
const;
This is a base class for exceptions thrown from the DNS library module.
virtual const char * what() const
Returns a C-style character string of the cause of the exception.
Wrapper class that holds hooks libraries configuration.
void clear()
Removes all configured hooks libraries.
bool equal(const HooksConfig &other) const
Compares two Hooks Config classes for equality.
const isc::hooks::HookLibsCollection & get() const
Provides access to the configured hooks libraries.
void verifyLibraries(const isc::data::Element::Position &position, bool multi_threading_enabled) const
Verifies that libraries stored in libraries_ are valid.
isc::data::ElementPtr toElement() const
Unparse a configuration object.
HooksConfig()
Default constructor.
void add(std::string libname, isc::data::ConstElementPtr parameters)
Adds additional hooks libraries.
void loadLibraries(bool multi_threading_enabled) const
Commits hooks libraries configuration.
Exception thrown when a library failed to validate.
InvalidHooksLibraries(const char *file, size_t line, const char *what)
boost::shared_ptr< const Element > ConstElementPtr
boost::shared_ptr< Element > ElementPtr
std::vector< HookLibInfo > HookLibsCollection
A storage for information about hook libraries.
Defines the logger used by the top-level component of kea-lfc.
Abstract class for configuration Cfg_* classes.
Represents the position of the data element within a configuration string.