 |
Kea
1.5.0
|
Go to the documentation of this file.
7 #ifndef BACKEND_SELECTOR_H
8 #define BACKEND_SELECTOR_H
87 explicit BackendSelector(
const std::string& host,
const uint16_t port = 0);
149 return (backend_type_);
172 std::string
toText()
const;
192 void validate()
const;
std::string getBackendHost() const
Returns host selected.
BackendSelector()
Default constructor.
Defines the logger used by the top-level component of kea-dhcp-ddns.
Type getBackendType() const
Returns backend type selected.
Type
Supported database types.
std::string toText() const
Returns selections as text.
static const BackendSelector & UNSPEC()
Returns instance of the "unspecified" backend selector.
uint16_t getBackendPort() const
Returns port selected.
bool amUnspecified() const
Checks if selector is "unspecified".
static std::string backendTypeToString(const Type &type)
Converts backend type to string.
static Type stringToBackendType(const std::string &type)
Converts string to backend type.
boost::shared_ptr< const Element > ConstElementPtr