18 ServerSelector::MULTIPLE(
const std::set<std::string>& server_tags) {
19 if (server_tags.empty()) {
24 std::set<ServerTag> tags;
27 for (
auto tag : server_tags) {
35 ServerSelector::ServerSelector(
const Type& type)
36 : type_(type), tags_() {
42 ServerSelector::ServerSelector(
const ServerTag& server_tag)
43 : type_(server_tag.amAll() ? Type::ALL : Type::SUBSET), tags_({server_tag}) {
46 ServerSelector::ServerSelector(
const std::set<ServerTag>& server_tags)
47 : type_(Type::SUBSET), tags_(server_tags) {
#define isc_throw(type, stream)
A shortcut macro to insert known values into exception arguments.
Server selector for associating objects in a database with specific servers.
Defines the logger used by the top-level component of kea-dhcp-ddns.
A generic exception that is thrown if a function is called in a prohibited way.