Generates an MX Resource Record. More...
#include <record-types.hh>
Public Member Functions | |
MXGen (uint16_t prio, const DNSName &name) | |
MXGen (DNSMessageReader &dmr) | |
void | toMessage (DNSMessageWriter &dpw) override |
std::string | toString () const override |
DNSType | getType () const override |
![]() | |
virtual | ~RRGen () |
Static Public Member Functions | |
static std::unique_ptr< RRGen > | make (uint16_t prio, const DNSName &name) |
Public Attributes | |
uint16_t | d_prio |
DNSName | d_name |
Generates an MX Resource Record.
|
inline |
MXGen::MXGen | ( | DNSMessageReader & | dmr | ) |
|
overridevirtual |
|
overridevirtual |
DNSName MXGen::d_name |
uint16_t MXGen::d_prio |