Represents an NAPTR resource record.
More...
#include <dnsrecord.h>
|
| | RRecordNAPTR (const std::string &name, int32_t ttl, uint16_t order, uint16_t preference, const std::string &flags, const std::string &service, const std::string ®exp, const std::string &replacement) |
| | Class constructor. More...
|
| |
| const uint16_t | getOrder () const |
| | Retrieves the order in which the NAPTR records MUST be processed in order to accurately represent the ordered list of Rules. More...
|
| |
| const uint16_t | getPreference () const |
| | Retrieves he order in which NAPTR records with equal Order values SHOULD be processed, low numbers being processed before high numbers. More...
|
| |
| const EString & | getFlags () |
| | Retrieves the flags associated with this NAPTR record. More...
|
| |
| const EString & | getService () |
| | Retrieves the Service Parameters applicable to this this delegation path. More...
|
| |
| const EString & | getRegexp () |
| | Retrieves the regular expression associated with this NAPTR record. More...
|
| |
| const EString & | getReplacement () |
| | Retrieves the replacement string associated with this NAPTR record. More...
|
| |
| virtual Void | dump () |
| | Prints the contents fo this NAPTR record. More...
|
| |
| | ResourceRecord (const std::string &name, ns_type rtype, ns_class rclass, int32_t ttl) |
| | Class constructor. More...
|
| |
| virtual | ~ResourceRecord () |
| | Class destructor. More...
|
| |
| const EString & | getName () |
| | Retrieves the domain name to which this resource record pertains. More...
|
| |
| ns_type | getType () |
| | Retrieves the resource type. More...
|
| |
| ns_class | getClass () |
| | Retrieves the class of the data in the RDATA field. More...
|
| |
| uint32_t | getTTL () |
| | Retrieves the time interval (in seconds) that the resource record may be cached before it should be discarded. More...
|
| |
| time_t | getExpires () |
| | Retrieves the expiration time of this resource record. More...
|
| |
| Bool | isExpired () |
| | Determines if this resource record has expired. More...
|
| |
Represents an NAPTR resource record.
◆ RRecordNAPTR()
| DNS::RRecordNAPTR::RRecordNAPTR |
( |
const std::string & |
name, |
|
|
int32_t |
ttl, |
|
|
uint16_t |
order, |
|
|
uint16_t |
preference, |
|
|
const std::string & |
flags, |
|
|
const std::string & |
service, |
|
|
const std::string & |
regexp, |
|
|
const std::string & |
replacement |
|
) |
| |
|
inline |
Class constructor.
- Parameters
-
| name | the domain name to which this resource record pertains. |
| ttl | the time to live value. |
| order | the order in which the NAPTR records MUST be processed in order to accurately represent the ordered list of Rules. |
| preference | the order in which NAPTR records with equal Order values SHOULD be processed, low numbers being processed before high numbers. |
| flags | controls aspects of the rewriting and interpretation of the fields in the record. |
| service | the Service Parameters applicable to this this delegation path. |
| regexp | a substitution expression that is applied to the original string held by the client in order to construct the next domain name to lookup. |
| replacement | this field is used when the regular expression is a simple replacement operation. |
◆ dump()
| virtual Void DNS::RRecordNAPTR::dump |
( |
| ) |
|
|
inlinevirtual |
◆ getFlags()
| const EString& DNS::RRecordNAPTR::getFlags |
( |
| ) |
|
|
inline |
Retrieves the flags associated with this NAPTR record.
- Returns
- the flags associated with this NAPTR record.
◆ getOrder()
| const uint16_t DNS::RRecordNAPTR::getOrder |
( |
| ) |
const |
|
inline |
Retrieves the order in which the NAPTR records MUST be processed in order to accurately represent the ordered list of Rules.
- Returns
- the order in which the NAPTR records MUST be processed in order to accurately represent the ordered list of Rules.
◆ getPreference()
| const uint16_t DNS::RRecordNAPTR::getPreference |
( |
| ) |
const |
|
inline |
Retrieves he order in which NAPTR records with equal Order values SHOULD be processed, low numbers being processed before high numbers.
- Returns
- he order in which NAPTR records with equal Order values SHOULD be processed, low numbers being processed before high numbers.
◆ getRegexp()
| const EString& DNS::RRecordNAPTR::getRegexp |
( |
| ) |
|
|
inline |
Retrieves the regular expression associated with this NAPTR record.
- Returns
- the regular expression associated with this NAPTR record.
◆ getReplacement()
| const EString& DNS::RRecordNAPTR::getReplacement |
( |
| ) |
|
|
inline |
Retrieves the replacement string associated with this NAPTR record.
- Returns
- the replacement string associated with this NAPTR record.
◆ getService()
| const EString& DNS::RRecordNAPTR::getService |
( |
| ) |
|
|
inline |
Retrieves the Service Parameters applicable to this this delegation path.
- Returns
- the Service Parameters applicable to this this delegation path.
The documentation for this class was generated from the following file:
- /home/vagrant/share/code/epctools/include/epc/dnsrecord.h