a SRV service to resolve and the resend destinations More...
#include <resolver.h>
Public Member Functions | |
| resend_service (xmlnode resend) | |
| bool | is_explicit_service () const |
| Glib::ustring const & | get_service_prefix () const |
| xmppd::jabberid | get_resend_host () const |
a SRV service to resolve and the resend destinations
This class stores the configuration for a service to resolve in DNS. Each instance of this class represent the configuration data of a single <resend/> element in the resolver configuration
| xmppd::resolver::resend_service::resend_service | ( | xmlnode | resend | ) |
construct a resend_service
| resend | the xmlnode of the <resend/> element that should be represented by this instance |
| std::invalid_argument | if configuration is not correct |
References NS_JABBERD_CONFIG_DNSRV, xhash_free(), xhash_new(), xhash_put(), xmlnode_get_attrib_ns(), xmlnode_get_data(), and xmlnode_get_tags().
| xmppd::jabberid xmppd::resolver::resend_service::get_resend_host | ( | ) | const |
select one of the resend_hosts for this service
| Glib::ustring const & xmppd::resolver::resend_service::get_service_prefix | ( | ) | const |
get the service prefix for SRV records that have to be resolved
| bool xmppd::resolver::resend_service::is_explicit_service | ( | ) | const |
does this represent a service lookup (or plain AAAA+A resolving?)
1.6.1