|
reSIProcate
SIP stack, Dialog Usage Manager and related libraries
|
#include <DnsInterface.hxx>
Classes | |
| class | Exception |
Public Member Functions | |
| DnsInterface (DnsStub &dnsStub, bool useDnsVip=false) | |
| virtual | ~DnsInterface () |
| void | addTransportType (TransportType type, IpVersion version) |
| void | removeTransportType (TransportType type, IpVersion version) |
| bool | isSupported (const Data &service) |
| bool | isSupported (TransportType t, IpVersion version) |
| bool | isSupportedProtocol (TransportType t) |
| int | supportedProtocols () |
| DnsResult * | createDnsResult (DnsHandler *handler=0) |
| void | lookup (DnsResult *res, const Uri &uri) |
| TupleMarkManager & | getMarkManager () |
| bool | setUdpOnlyOnNumeric (bool value) |
| bool | getUdpOnlyOnNumeric () const |
Protected Types | |
| typedef std::map< Data, unsigned int > | SupportedNaptrMap |
| typedef std::map< std::pair< TransportType, IpVersion >, unsigned int > | TransportMap |
Protected Member Functions | |
| const Data * | getSupportedNaptrType (TransportType type) |
| void | logSupportedTransports () |
Protected Attributes | |
| Mutex | mSupportedMutex |
| SupportedNaptrMap | mSupportedNaptrs |
| TransportMap | mSupportedTransports |
| bool | mUdpOnlyOnNumeric |
| DnsStub & | mDnsStub |
| RRVip | mVip |
| TupleMarkManager | mMarkManager |
Friends | |
| class | DnsResult |
Definition at line 24 of file DnsInterface.hxx.
|
protected |
Definition at line 96 of file DnsInterface.hxx.
|
protected |
Definition at line 98 of file DnsInterface.hxx.
| DnsInterface::DnsInterface | ( | DnsStub & | dnsStub, |
| bool | useDnsVip = false |
||
| ) |
Definition at line 35 of file DnsInterface.cxx.
|
virtual |
Definition at line 45 of file DnsInterface.cxx.
| void DnsInterface::addTransportType | ( | TransportType | type, |
| IpVersion | version | ||
| ) |
Definition at line 50 of file DnsInterface.cxx.
| DnsResult * DnsInterface::createDnsResult | ( | DnsHandler * | handler = 0 | ) |
Definition at line 185 of file DnsInterface.cxx.
|
inline |
Definition at line 75 of file DnsInterface.hxx.
|
protected |
Definition at line 102 of file DnsInterface.cxx.
|
inline |
Definition at line 83 of file DnsInterface.hxx.
| bool DnsInterface::isSupported | ( | const Data & | service | ) |
Definition at line 149 of file DnsInterface.cxx.
| bool DnsInterface::isSupported | ( | TransportType | t, |
| IpVersion | version | ||
| ) |
Definition at line 156 of file DnsInterface.cxx.
| bool DnsInterface::isSupportedProtocol | ( | TransportType | t | ) |
Definition at line 165 of file DnsInterface.cxx.
|
protected |
Definition at line 133 of file DnsInterface.cxx.
Definition at line 192 of file DnsInterface.cxx.
| void DnsInterface::removeTransportType | ( | TransportType | type, |
| IpVersion | version | ||
| ) |
Definition at line 65 of file DnsInterface.cxx.
|
inline |
Definition at line 77 of file DnsInterface.hxx.
| int DnsInterface::supportedProtocols | ( | ) |
Definition at line 178 of file DnsInterface.cxx.
|
friend |
Definition at line 94 of file DnsInterface.hxx.
|
protected |
Definition at line 104 of file DnsInterface.hxx.
|
protected |
Definition at line 106 of file DnsInterface.hxx.
|
protected |
Definition at line 95 of file DnsInterface.hxx.
|
protected |
Definition at line 97 of file DnsInterface.hxx.
|
protected |
Definition at line 99 of file DnsInterface.hxx.
|
protected |
Definition at line 102 of file DnsInterface.hxx.
|
protected |
Definition at line 105 of file DnsInterface.hxx.