reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
resip::RRCache Class Reference

#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)
 

Detailed Description

Definition at line 21 of file RRCache.hxx.

Member Typedef Documentation

◆ DataArr

typedef std::vector<Data> resip::RRCache::DataArr

Definition at line 28 of file RRCache.hxx.

◆ Itr

typedef std::vector<RROverlay>::const_iterator resip::RRCache::Itr

Definition at line 27 of file RRCache.hxx.

◆ LruListType

Definition at line 25 of file RRCache.hxx.

◆ Protocol

Definition at line 24 of file RRCache.hxx.

◆ Result

Definition at line 26 of file RRCache.hxx.

Constructor & Destructor Documentation

◆ RRCache()

RRCache::RRCache ( )

Definition at line 55 of file RRCache.cxx.

◆ ~RRCache()

RRCache::~RRCache ( )

Definition at line 70 of file RRCache.cxx.

Member Function Documentation

◆ cacheTTL()

void RRCache::cacheTTL ( const Data &  target,
const int  rrType,
const int  status,
RROverlay  overlay 
)

Definition at line 164 of file RRCache.cxx.

◆ clearCache()

void RRCache::clearCache ( )

Definition at line 243 of file RRCache.cxx.

◆ getCacheDump()

void RRCache::getCacheDump ( Data &  dnsCacheDump)

Definition at line 326 of file RRCache.cxx.

◆ logCache()

void RRCache::logCache ( )

Definition at line 318 of file RRCache.cxx.

◆ lookup()

bool RRCache::lookup ( const Data &  target,
const int  type,
const int  proto,
Result &  records,
int &  status 
)

Definition at line 199 of file RRCache.cxx.

◆ setSize()

void resip::RRCache::setSize ( int  size)
inline

Definition at line 33 of file RRCache.hxx.

◆ setTTL()

void resip::RRCache::setTTL ( int  ttl)
inline

Definition at line 32 of file RRCache.hxx.

◆ updateCache()

void RRCache::updateCache ( const Data &  target,
const int  rrType,
Itr  begin,
Itr  end 
)

Definition at line 104 of file RRCache.cxx.

◆ updateCacheFromHostFile()

void RRCache::updateCacheFromHostFile ( const DnsHostRecord &  record)

Definition at line 76 of file RRCache.cxx.


The documentation for this class was generated from the following files: