Generates a SRV Resource Record. More...
#include <record-types.hh>
Public Member Functions | |
SRVGen (uint16_t preference, uint16_t weight, uint16_t port, const DNSName &target) | |
SRVGen (DNSMessageReader &dmr) | |
SRVGen (DNSStringReader dsr) | |
void | toMessage (DNSMessageWriter &dpw) override |
DNSType | getType () const override |
std::string | toString () const override |
template<typename X > | |
void | doConv (X &x) |
![]() | |
virtual | ~RRGen () |
Public Attributes | |
uint16_t | d_preference |
uint16_t | d_weight |
uint16_t | d_port |
DNSName | d_target |
Generates a SRV Resource Record.
|
inline |
SRVGen::SRVGen | ( | DNSMessageReader & | dmr | ) |
SRVGen::SRVGen | ( | DNSStringReader | dsr | ) |
void SRVGen::doConv | ( | X & | x | ) |
|
overridevirtual |
Implements RRGen.
|
overridevirtual |
Implements RRGen.
uint16_t SRVGen::d_port |
uint16_t SRVGen::d_preference |
DNSName SRVGen::d_target |
uint16_t SRVGen::d_weight |