#include <llares.h>


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 |
Definition at line 71 of file llares.h.
| LLDnsRecord::LLDnsRecord | ( | LLResType | type, | |
| const std::string & | name, | |||
| unsigned | ttl | |||
| ) | [protected] |
Definition at line 594 of file llares.cpp.
| virtual int LLDnsRecord::parse | ( | const char * | buf, | |
| size_t | len, | |||
| const char * | pos, | |||
| size_t | rrlen | |||
| ) | [protected, pure virtual] |
Implemented in LLARecord, LLAaaaRecord, LLHostRecord, and LLSrvRecord.
| const std::string& LLDnsRecord::name | ( | ) | const [inline] |
| unsigned LLDnsRecord::ttl | ( | ) | const [inline] |
| LLResType LLDnsRecord::type | ( | ) | const [inline] |
RR type.
Definition at line 99 of file llares.h.
References mType.
Referenced by LLAres::UriRewriteResponder::queryResult().

friend class LLQueryResponder [friend] |
Reimplemented in LLAddrRecord, LLARecord, LLAaaaRecord, LLCnameRecord, and LLPtrRecord.
LLResType LLDnsRecord::mType [protected] |
std::string LLDnsRecord::mName [protected] |
unsigned LLDnsRecord::mTTL [protected] |
1.5.5