#include <DnsStub.hxx>
|
| | DnsStub (const NameserverList &additional=EmptyNameserverList, AfterSocketCreationFuncPtr socketFunc=0, AsyncProcessHandler *asyncProcessHandler=0, FdPollGrp *pollGrp=0) |
| |
| | ~DnsStub () |
| |
| void | setResultTransform (ResultTransform *) |
| |
| void | removeResultTransform () |
| |
| void | setEnumSuffixes (const std::vector< Data > &suffixes) |
| |
| const std::vector< Data > & | getEnumSuffixes () const |
| |
| void | setEnumDomains (const std::map< Data, Data > &domains) |
| |
| const std::map< Data, Data > & | getEnumDomains () const |
| |
| void | clearDnsCache () |
| |
| void | logDnsCache () |
| |
| void | getDnsCacheDump (std::pair< unsigned long, unsigned long > key, GetDnsCacheDumpHandler *handler) |
| |
| void | setDnsCacheTTL (int ttl) |
| |
| void | setDnsCacheSize (int size) |
| |
| void | reloadDnsServers () |
| |
| bool | changeNameServers (const NameserverList &additional) |
| |
| bool | checkDnsChange () |
| |
| bool | supportedType (int) |
| |
| template<class QueryType > |
| void | lookup (const Data &target, DnsResultSink *sink) |
| |
| template<class QueryType > |
| void | lookup (const Data &target, int protocol, DnsResultSink *sink) |
| |
| virtual void | handleDnsRaw (ExternalDnsRawResult) |
| |
| virtual void | process (FdSet &fdset) |
| |
| virtual unsigned int | getTimeTillNextProcessMS () |
| |
| virtual void | buildFdSet (FdSet &fdset) |
| |
| void | setPollGrp (FdPollGrp *pollGrp) |
| |
| void | processTimers () |
| |
| virtual void | queueCommand (Command *command) |
| |
| template<class QueryType > |
| void | query (const Data &target, int proto, DnsResultSink *sink) |
| |
Public Member Functions inherited from resip::ExternalDnsHandler |
| virtual | ~ExternalDnsHandler () |
| |
|
| void | cache (const Data &key, in_addr addr) |
| |
| void | cache (const Data &key, const unsigned char *abuf, int alen) |
| |
| void | cacheTTL (const Data &key, int rrType, int status, const unsigned char *abuf, int alen) |
| |
Definition at line 111 of file DnsStub.hxx.
◆ DataArr
◆ DnsResourceRecordsByPtr
◆ NameserverList
◆ Protocol
◆ DnsStub()
◆ ~DnsStub()
◆ buildFdSet()
| void DnsStub::buildFdSet |
( |
FdSet & |
fdset | ) |
|
|
virtual |
◆ cache() [1/2]
| void DnsStub::cache |
( |
const Data & |
key, |
|
|
const unsigned char * |
abuf, |
|
|
int |
alen |
|
) |
| |
|
protected |
◆ cache() [2/2]
| void DnsStub::cache |
( |
const Data & |
key, |
|
|
in_addr |
addr |
|
) |
| |
|
protected |
◆ cacheTTL()
| void DnsStub::cacheTTL |
( |
const Data & |
key, |
|
|
int |
rrType, |
|
|
int |
status, |
|
|
const unsigned char * |
abuf, |
|
|
int |
alen |
|
) |
| |
|
protected |
◆ changeNameServers()
◆ checkDnsChange()
| bool DnsStub::checkDnsChange |
( |
| ) |
|
◆ clearDnsCache()
| void DnsStub::clearDnsCache |
( |
| ) |
|
◆ enableDnsFeatures()
| static void resip::DnsStub::enableDnsFeatures |
( |
unsigned int |
features | ) |
|
|
inlinestatic |
◆ getDnsCacheDump()
| void DnsStub::getDnsCacheDump |
( |
std::pair< unsigned long, unsigned long > |
key, |
|
|
GetDnsCacheDumpHandler * |
handler |
|
) |
| |
◆ getEnumDomains()
| const std::map< Data, Data > & DnsStub::getEnumDomains |
( |
| ) |
const |
◆ getEnumSuffixes()
| const std::vector< Data > & DnsStub::getEnumSuffixes |
( |
| ) |
const |
◆ getTimeTillNextProcessMS()
| unsigned int DnsStub::getTimeTillNextProcessMS |
( |
| ) |
|
|
virtual |
◆ handleDnsRaw()
◆ logDnsCache()
| void DnsStub::logDnsCache |
( |
| ) |
|
◆ lookup() [1/2]
template<class QueryType >
◆ lookup() [2/2]
template<class QueryType >
| void resip::DnsStub::lookup |
( |
const Data & |
target, |
|
|
int |
protocol, |
|
|
DnsResultSink * |
sink |
|
) |
| |
|
inline |
◆ process()
| void DnsStub::process |
( |
FdSet & |
fdset | ) |
|
|
virtual |
◆ processTimers()
| void DnsStub::processTimers |
( |
| ) |
|
◆ query()
template<class QueryType >
◆ queueCommand()
| void DnsStub::queueCommand |
( |
Command * |
command | ) |
|
|
virtual |
◆ reloadDnsServers()
| void DnsStub::reloadDnsServers |
( |
| ) |
|
◆ removeResultTransform()
| void DnsStub::removeResultTransform |
( |
| ) |
|
◆ setDnsCacheSize()
| void DnsStub::setDnsCacheSize |
( |
int |
size | ) |
|
◆ setDnsCacheTTL()
| void DnsStub::setDnsCacheTTL |
( |
int |
ttl | ) |
|
◆ setDnsTimeoutAndTries()
| static void resip::DnsStub::setDnsTimeoutAndTries |
( |
int |
timeoutInSec, |
|
|
int |
tries |
|
) |
| |
|
inlinestatic |
◆ setEnumDomains()
| void DnsStub::setEnumDomains |
( |
const std::map< Data, Data > & |
domains | ) |
|
- Parameters
-
| enumDomains | The ENUM possibility is only considered if the URI domain part is one of these domains |
Definition at line 837 of file DnsStub.cxx.
◆ setEnumSuffixes()
| void DnsStub::setEnumSuffixes |
( |
const std::vector< Data > & |
suffixes | ) |
|
- Parameters
-
| enumSuffixes | If the uri is enum searchable, this is the list of enum suffixes (for example "e164.arpa") that will be used in the attempt to resolve this uri. |
Definition at line 818 of file DnsStub.cxx.
◆ setPollGrp()
| void DnsStub::setPollGrp |
( |
FdPollGrp * |
pollGrp | ) |
|
◆ setResultTransform()
◆ supportedType()
| bool DnsStub::supportedType |
( |
int |
type | ) |
|
◆ EmptyNameserverList
The documentation for this class was generated from the following files: