Represents the question for the name server.
More...
#include <dnsrecord.h>
Represents the question for the name server.
◆ Question()
DNS::Question::Question |
( |
const std::string & |
qname, |
|
|
ns_type |
qtype, |
|
|
ns_class |
qclass |
|
) |
| |
|
inline |
Class constructor.
- Parameters
-
qname | the query name of the requested resource. |
qtype | the query type for the requested resource. |
qclass | specifies the class of the query. |
◆ dump()
Void DNS::Question::dump |
( |
| ) |
|
|
inline |
Prints the contents the stdout.
◆ getQClass()
ns_class DNS::Question::getQClass |
( |
| ) |
|
|
inline |
Retrieves the class of the query.
- Returns
- the class of the query.
◆ getQName()
EString& DNS::Question::getQName |
( |
| ) |
|
|
inline |
Retrieves the query name of the requested resource.
- Returns
- the query name of the requested resource.
◆ getQType()
ns_type DNS::Question::getQType |
( |
| ) |
|
|
inline |
Retrieves the query type for the requested resource.
- Returns
- the query type for the requested resource.
The documentation for this class was generated from the following file:
- /home/vagrant/share/code/epctools/include/epc/dnsrecord.h