|
EpcTools
An event based multi-threaded C++ development framework.
|
Represents an NS resource record. More...
#include <dnsrecord.h>
Public Member Functions | |
| RRecordNS (const std::string &name, int32_t ttl, const std::string &ns) | |
| Class constructor. More... | |
| const EString & | getNamedServer () |
| virtual Void | dump () |
| Prints the contents fo this NS record. More... | |
Public Member Functions inherited from DNS::ResourceRecord | |
| 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 NS resource record.
|
inline |
Class constructor.
| name | the domain name to which this resource record pertains. |
| ttl | the time to live value. |
| ns | the named server for this NS record. |
|
inlinevirtual |
Prints the contents fo this NS record.
Reimplemented from DNS::ResourceRecord.
|
inline |
1.8.16