30 "Unrecognized RR class string: " + class_str);
32 classcode_ = classcode;
62 return (
new RRClass(class_code));
The AbstractMessageRenderer class is an abstract base class that provides common interfaces for rende...
void writeUint16(uint16_t data)
Write an unsigned 16-bit integer in host byte order into the internal buffer in network byte order.
A standard DNS module exception that is thrown if an RRClass object is being constructed from a incom...
A standard DNS module exception that is thrown if an RRClass object is being constructed from an unre...
The RRClass class encapsulates DNS resource record classes.
void toWire(AbstractMessageRenderer &renderer) const
Render the RRClass in the wire format.
static RRClass * createFromText(const std::string &class_str)
A separate factory of RRClass from text.
const std::string toText() const
Convert the RRClass to a string.
RRClass(uint16_t classcode)
Constructor from an integer class code.
static RRParamRegistry & getRegistry()
Return the singleton instance of RRParamRegistry.
The OutputBuffer class is a buffer abstraction for manipulating mutable data.
void writeUint16(uint16_t data)
Write an unsigned 16-bit integer in host byte order into the buffer in network byte order.
#define isc_throw(type, stream)
A shortcut macro to insert known values into exception arguments.
ostream & operator<<(std::ostream &os, const EDNS &edns)
Insert the EDNS as a string into stream.
Defines the logger used by the top-level component of kea-lfc.