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

#include <RRList.hxx>

Inheritance diagram for resip::RRList:
[legend]

Classes

class  Protocol
 

Public Types

typedef std::vector< DnsResourceRecord * > Records
 
typedef IntrusiveListElement< RRList * > LruList
 
typedef std::vector< RROverlay >::const_iterator Itr
 
typedef std::vector< Data > DataArr
 

Public Member Functions

 RRList ()
 
 RRList (const Data &key, const int rrtype, int ttl, int status)
 
 RRList (const Data &key, int rrtype)
 
 ~RRList ()
 
 RRList (const RRFactoryBase *factory, const Data &key, const int rrType, Itr begin, Itr end, int ttl)
 
 RRList (const DnsHostRecord &record, int ttl)
 
void update (const DnsHostRecord &record, int ttl)
 
void update (const RRFactoryBase *factory, Itr begin, Itr end, int ttl)
 
Records records (const int protocol)
 
size_t numRecords ()
 
const Data & key () const
 
int status () const
 
int rrType () const
 
uint64_t absoluteExpiry () const
 
uint64_t & absoluteExpiry ()
 
void log ()
 
EncodeStream & encodeRRList (EncodeStream &strm)
 
- Public Member Functions inherited from resip::IntrusiveListElement< RRList * >
 IntrusiveListElement ()
 
virtual ~IntrusiveListElement ()
 
bool empty () const
 
iterator begin ()
 
iterator end ()
 
void push_front (RRList * elem)
 
void push_back (RRList * elem)
 
void remove ()
 

Additional Inherited Members

- Static Public Member Functions inherited from resip::IntrusiveListElement< RRList * >
static RRList * makeList (RRList * elem)
 
- Protected Attributes inherited from resip::IntrusiveListElement< RRList * >
RRList * mNext
 
RRList * mPrev
 

Detailed Description

Definition at line 14 of file RRList.hxx.

Member Typedef Documentation

◆ DataArr

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

Definition at line 31 of file RRList.hxx.

◆ Itr

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

Definition at line 30 of file RRList.hxx.

◆ LruList

Definition at line 29 of file RRList.hxx.

◆ Records

Definition at line 28 of file RRList.hxx.

Constructor & Destructor Documentation

◆ RRList() [1/5]

RRList::RRList ( )

Definition at line 42 of file RRList.cxx.

◆ RRList() [2/5]

RRList::RRList ( const Data &  key,
const int  rrtype,
int  ttl,
int  status 
)
explicit

Definition at line 44 of file RRList.cxx.

◆ RRList() [3/5]

RRList::RRList ( const Data &  key,
int  rrtype 
)
explicit

Definition at line 69 of file RRList.cxx.

◆ ~RRList()

RRList::~RRList ( )

Definition at line 73 of file RRList.cxx.

◆ RRList() [4/5]

RRList::RRList ( const RRFactoryBase *  factory,
const Data &  key,
const int  rrType,
Itr  begin,
Itr  end,
int  ttl 
)

Definition at line 78 of file RRList.cxx.

◆ RRList() [5/5]

RRList::RRList ( const DnsHostRecord &  record,
int  ttl 
)

Definition at line 53 of file RRList.cxx.

Member Function Documentation

◆ absoluteExpiry() [1/2]

uint64_t & resip::RRList::absoluteExpiry ( )
inline

Definition at line 55 of file RRList.hxx.

◆ absoluteExpiry() [2/2]

uint64_t resip::RRList::absoluteExpiry ( ) const
inline

Definition at line 54 of file RRList.hxx.

◆ encodeRRList()

EncodeStream & RRList::encodeRRList ( EncodeStream &  strm)

Definition at line 155 of file RRList.cxx.

◆ key()

const Data & resip::RRList::key ( ) const
inline

Definition at line 51 of file RRList.hxx.

◆ log()

void resip::RRList::log ( )

◆ numRecords()

size_t resip::RRList::numRecords ( )
inline

Definition at line 49 of file RRList.hxx.

◆ records()

RRList::Records RRList::records ( const int  protocol)

Definition at line 121 of file RRList.cxx.

◆ rrType()

int resip::RRList::rrType ( ) const
inline

Definition at line 53 of file RRList.hxx.

◆ status()

int resip::RRList::status ( ) const
inline

Definition at line 52 of file RRList.hxx.

◆ update() [1/2]

void RRList::update ( const DnsHostRecord &  record,
int  ttl 
)

Definition at line 59 of file RRList.cxx.

◆ update() [2/2]

void RRList::update ( const RRFactoryBase *  factory,
Itr  begin,
Itr  end,
int  ttl 
)

Definition at line 89 of file RRList.cxx.


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