|  | Kea 3.1.0
    | 
Represents a DNS domain that is may be updated dynamically. More...
#include <d2_config.h>
| Public Member Functions | |
| DdnsDomain (const std::string &name, DnsServerInfoStoragePtr servers, const std::string &key_name="") | |
| Constructor. | |
| virtual | ~DdnsDomain () | 
| Destructor. | |
| const std::string | getKeyName () const | 
| Getter which returns the domain's TSIG key name. | |
| const std::string | getName () const | 
| Getter which returns the domain's name. | |
| const DnsServerInfoStoragePtr & | getServers () | 
| Getter which returns the domain's list of servers. | |
| virtual isc::data::ElementPtr | toElement () const | 
| Unparse a configuration object. | |
| Public Member Functions inherited from isc::data::UserContext | |
| void | contextToElement (data::ElementPtr map) const | 
| Merge unparse a user_context object. | |
| data::ConstElementPtr | getContext () const | 
| Returns const pointer to the user context. | |
| void | setContext (const data::ConstElementPtr &ctx) | 
| Sets user context. | |
| Public Member Functions inherited from isc::data::CfgToElement | |
| virtual | ~CfgToElement () | 
| Destructor. | |
| Additional Inherited Members | |
| Static Public Member Functions inherited from isc::data::UserContext | |
| static data::ElementPtr | toElement (data::ConstElementPtr map) | 
| Copy an Element map. | |
| Protected Attributes inherited from isc::data::UserContext | |
| data::ConstElementPtr | user_context_ | 
| Pointer to the user context (may be NULL) | |
Represents a DNS domain that is may be updated dynamically.
This class specifies a DNS domain and the list of DNS servers that support it. Its primary use is to map a domain to the DNS server(s) responsible for it.
Definition at line 570 of file d2_config.h.
| isc::d2::DdnsDomain::DdnsDomain | ( | const std::string & | name, | 
| DnsServerInfoStoragePtr | servers, | ||
| const std::string & | key_name = "" ) | 
Constructor.
| name | is the domain name of the domain. | 
| servers | is the list of server(s) supporting this domain. | 
| key_name | is the TSIG key name of the domain. | 
Definition at line 261 of file d2_config.cc.
| 
 | virtual | 
Destructor.
Definition at line 267 of file d2_config.cc.
| 
 | inline | 
Getter which returns the domain's TSIG key name.
Definition at line 596 of file d2_config.h.
| 
 | inline | 
Getter which returns the domain's name.
Definition at line 586 of file d2_config.h.
| 
 | inline | 
Getter which returns the domain's list of servers.
Definition at line 603 of file d2_config.h.
| 
 | virtual | 
Unparse a configuration object.
Implements isc::data::CfgToElement.
Definition at line 271 of file d2_config.cc.
References isc::data::UserContext::contextToElement(), Element::create(), Element::createList(), and Element::createMap().