}
/// @brief Sets the forward domain list manager
+ ///
/// @param forward_mgr pointer to the new forward manager
void setForwardMgr(DdnsDomainListMgrPtr forward_mgr) {
forward_mgr_ = forward_mgr;
}
/// @brief Sets the reverse domain list manager
+ ///
/// @param reverse_mgr pointer to the new reverse manager
void setReverseMgr(DdnsDomainListMgrPtr reverse_mgr) {
reverse_mgr_ = reverse_mgr;
}
/// @brief Returns information about UNIX control socket
- /// @return pointer to the Element that holds control-socket map
+ ///
+ /// @return pointer to the UNIX control socket config
const isc::data::ConstElementPtr getControlSocketInfo() const {
return (unix_control_socket_);
}
/// @brief Sets information about the UNIX control socket
- /// @param control_socket Element that holds control-socket map
+ ///
+ /// @param ontrol_socket UNIX control socket config
void setControlSocketInfo(const isc::data::ConstElementPtr& control_socket) {
unix_control_socket_ = control_socket;
}
/// @brief Returns information about HTTP/HTTPS control socket
+ ///
/// @return pointer to the HTTP/HTTPS control socket config
isc::config::HttpCommandConfigPtr getHttpControlSocketInfo() const {
return (http_control_socket_);
}
/// @brief Sets information about the HTTP/HTTPS control socket
- /// @param control_socket HTTP/HTTPScontrol socket config
+ ///
+ /// @param control_socket HTTP/HTTPS control socket config
void setHttpControlSocketInfo(const isc::config::HttpCommandConfigPtr& control_socket) {
http_control_socket_ = control_socket;
}
/// @brief Storage for the map of TSIGKeyInfos.
TSIGKeyInfoMapPtr keys_;
- /// @brief Pointer to the UNIX control-socket information.
+ /// @brief Pointer to the UNIX control socket configuration.
isc::data::ConstElementPtr unix_control_socket_;
- /// @brief Pointer to the HTTP/HTTPS control socket configuration
+ /// @brief Pointer to the HTTP/HTTPS control socket configuration.
isc::config::HttpCommandConfigPtr http_control_socket_;
/// @brief Configured hooks libraries.
class D2CfgMgr : public process::DCfgMgrBase {
public:
/// @brief Reverse zone suffix added to IPv4 addresses for reverse lookups
+ ///
/// @todo This should be configurable.
static const char* IPV4_REV_ZONE_SUFFIX;
/// @brief Reverse zone suffix added to IPv6 addresses for reverse lookups
+ ///
/// @todo This should be configurable.
static const char* IPV6_REV_ZONE_SUFFIX;
static std::string reverseV6Address(const isc::asiolink::IOAddress& ioaddr);
/// @brief Convenience method fetches the D2Params from context
+ ///
/// @return reference to const D2ParamsPtr
const D2ParamsPtr& getD2Params();
/// @brief Convenience method fetches information about
/// UNIX control socket from context
+ ///
/// @return pointer to the Element that holds control-socket map
const isc::data::ConstElementPtr getControlSocketInfo();
/// @brief Convenience method fetches information about
/// HTTP/HTTPS control socket from context
+ ///
/// @return pointer to the HTTP/HTTPS control socket config
isc::config::HttpCommandConfigPtr getHttpControlSocketInfo();
/// @param config Pointer to a configuration specified for D2.
/// @param check_only Boolean flag indicating if this method should
/// only verify correctness of the provided configuration.
+ ///
/// @return Pointer to a result of configuration parsing.
virtual isc::data::ConstElementPtr
parse(isc::data::ConstElementPtr config, bool check_only) override;
/// @brief Returns information about UNIX control socket
///
- /// @return pointer to the Element that holds control-socket map
+ /// @return pointer to the UNIX control socket config
const isc::data::ConstElementPtr getControlSocketInfo() const {
return (unix_control_socket_);
}
/// @brief Sets information about the UNIX control socket
///
- /// @param control_socket Element that holds control-socket map
+ /// @param control_socket UNIX control socket config
void setControlSocketInfo(const isc::data::ConstElementPtr& control_socket) {
unix_control_socket_ = control_socket;
}
/// @brief Sets information about the HTTP/HTTPS control socket
///
- /// @param control_socket HTTP/HTTPScontrol socket config
+ /// @param control_socket HTTP/HTTPS control socket config
void setHttpControlSocketInfo(const isc::config::HttpCommandConfigPtr& control_socket) {
http_control_socket_ = control_socket;
}
/// DHCPv6.
CfgHostOperationsPtr cfg_host_operations6_;
- /// @brief Pointer to the UNIX control-socket information
+ /// @brief Pointer to the UNIX control socket configuration
isc::data::ConstElementPtr unix_control_socket_;
/// @brief Pointer to the HTTP/HTTPS control socket configuration