7 #ifndef BASE_CONFIG_BACKEND_H
8 #define BASE_CONFIG_BACKEND_H
12 #include <boost/shared_ptr.hpp>
44 virtual std::string
getType()
const = 0;
52 virtual std::string
getHost()
const = 0;
60 virtual uint16_t
getPort()
const = 0;
87 #endif // BASE_CONFIG_BACKEND_H
Interface for Kea server specific configuration backend implementations.
virtual std::string getType() const =0
Returns backend type in the textual format.
virtual bool isUnusable()
Flag which indicates if the config backend has an unusable connection.
virtual uint16_t getPort() const =0
Returns backend port number.
virtual ~BaseConfigBackend()
Virtual destructor.
virtual std::string getHost() const =0
Returns backend host.
Defines the logger used by the top-level component of kea-dhcp-ddns.
boost::shared_ptr< BaseConfigBackend > BaseConfigBackendPtr
Shared pointer to the BaseConfigBackend.
virtual isc::db::DatabaseConnection::ParameterMap getParameters() const
Return backend parameters.
std::map< std::string, std::string > ParameterMap
Database configuration parameter map.