LLDnsRecord Class Reference

Base class for all DNS RR types. More...

#include <llares.h>

Inheritance diagram for LLDnsRecord:

Inheritance graph
[legend]
Collaboration diagram for LLDnsRecord:

Collaboration graph
[legend]

List of all members.

Public Member Functions

const std::string & name () const
 Record name.
unsigned ttl () const
 Time-to-live value, in seconds.
LLResType type () const
 RR type.

Protected Member Functions

virtual int parse (const char *buf, size_t len, const char *pos, size_t rrlen)=0
 LLDnsRecord (LLResType type, const std::string &name, unsigned ttl)

Protected Attributes

LLResType mType
std::string mName
unsigned mTTL

Friends

class LLQueryResponder


Detailed Description

Base class for all DNS RR types.

Definition at line 71 of file llares.h.


Constructor & Destructor Documentation

LLDnsRecord::LLDnsRecord ( LLResType  type,
const std::string &  name,
unsigned  ttl 
) [protected]

Definition at line 594 of file llares.cpp.


Member Function Documentation

virtual int LLDnsRecord::parse ( const char *  buf,
size_t  len,
const char *  pos,
size_t  rrlen 
) [protected, pure virtual]

const std::string& LLDnsRecord::name (  )  const [inline]

Record name.

Definition at line 89 of file llares.h.

References mName.

unsigned LLDnsRecord::ttl (  )  const [inline]

Time-to-live value, in seconds.

Definition at line 94 of file llares.h.

References mTTL.

LLResType LLDnsRecord::type (  )  const [inline]

RR type.

Definition at line 99 of file llares.h.

References mType.

Referenced by LLAres::UriRewriteResponder::queryResult().

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class LLQueryResponder [friend]

Reimplemented in LLAddrRecord, LLARecord, LLAaaaRecord, LLCnameRecord, and LLPtrRecord.

Definition at line 74 of file llares.h.


Member Data Documentation

Definition at line 76 of file llares.h.

Referenced by type().

std::string LLDnsRecord::mName [protected]

Definition at line 77 of file llares.h.

Referenced by name().

unsigned LLDnsRecord::mTTL [protected]

Definition at line 78 of file llares.h.

Referenced by ttl().


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

Generated on Fri May 16 08:43:45 2008 for SecondLife by  doxygen 1.5.5