|
reSIProcate
SIP stack, Dialog Usage Manager and related libraries
|
#include <RRCache.hxx>
Public Types | |
| typedef RRList::Protocol | Protocol |
| typedef RRList::LruList | LruListType |
| typedef RRList::Records | Result |
| typedef std::vector< RROverlay >::const_iterator | Itr |
| typedef std::vector< Data > | DataArr |
Public Member Functions | |
| RRCache () | |
| ~RRCache () | |
| void | setTTL (int ttl) |
| void | setSize (int size) |
| void | updateCache (const Data &target, const int rrType, Itr begin, Itr end) |
| void | updateCacheFromHostFile (const DnsHostRecord &) |
| void | cacheTTL (const Data &target, const int rrType, const int status, RROverlay overlay) |
| bool | lookup (const Data &target, const int type, const int proto, Result &records, int &status) |
| void | clearCache () |
| void | logCache () |
| void | getCacheDump (Data &dnsCacheDump) |
Definition at line 21 of file RRCache.hxx.
| typedef std::vector<Data> resip::RRCache::DataArr |
Definition at line 28 of file RRCache.hxx.
| typedef std::vector<RROverlay>::const_iterator resip::RRCache::Itr |
Definition at line 27 of file RRCache.hxx.
Definition at line 25 of file RRCache.hxx.
Definition at line 24 of file RRCache.hxx.
Definition at line 26 of file RRCache.hxx.
| RRCache::RRCache | ( | ) |
Definition at line 55 of file RRCache.cxx.
| RRCache::~RRCache | ( | ) |
Definition at line 70 of file RRCache.cxx.
| void RRCache::cacheTTL | ( | const Data & | target, |
| const int | rrType, | ||
| const int | status, | ||
| RROverlay | overlay | ||
| ) |
Definition at line 164 of file RRCache.cxx.
| void RRCache::clearCache | ( | ) |
Definition at line 243 of file RRCache.cxx.
| void RRCache::getCacheDump | ( | Data & | dnsCacheDump | ) |
Definition at line 326 of file RRCache.cxx.
| void RRCache::logCache | ( | ) |
Definition at line 318 of file RRCache.cxx.
| bool RRCache::lookup | ( | const Data & | target, |
| const int | type, | ||
| const int | proto, | ||
| Result & | records, | ||
| int & | status | ||
| ) |
Definition at line 199 of file RRCache.cxx.
|
inline |
Definition at line 33 of file RRCache.hxx.
|
inline |
Definition at line 32 of file RRCache.hxx.
Definition at line 104 of file RRCache.cxx.
| void RRCache::updateCacheFromHostFile | ( | const DnsHostRecord & | record | ) |
Definition at line 76 of file RRCache.cxx.