39 std::string r(name_.
toText() +
" " + rrclass_.
toText() +
" " +
ostream & operator<<(std::ostream &os, const EDNS &edns)
Insert the EDNS as a string into stream.
const std::string toText() const
Convert the RRType to a string.
virtual void writeName(const Name &name, bool compress=true)=0
Write a Name object into the internal buffer in wire format, with or without name compression...
The Question class encapsulates the common search key of DNS lookup, consisting of owner name...
void toWire(AbstractMessageRenderer &renderer) const
Render the RRClass in the wire format.
void trim(size_t len)
Trim the specified length of data from the end of the internal buffer.
The RRClass class encapsulates DNS resource record classes.
The AbstractMessageRenderer class is an abstract base class that provides common interfaces for rende...
unsigned int toWire(AbstractMessageRenderer &renderer) const
Render the Question in the wire format with name compression.
virtual void setTruncated()=0
Mark the renderer to indicate truncation has occurred while rendering.
void toWire(AbstractMessageRenderer &renderer) const
Render the RRType in the wire format.
std::string toText(bool omit_final_dot=false) const
Convert the Name to a string.
The OutputBuffer class is a buffer abstraction for manipulating mutable data.
void toWire(AbstractMessageRenderer &renderer) const
Render the Name in the wire format with compression.
Defines the logger used by the top-level component of kea-lfc.
const std::string toText() const
Convert the RRClass to a string.
std::string toText(bool newline=false) const
Convert the Question to a string.
The RRType class encapsulates DNS resource record types.
size_t getLength() const
Return the length of data written in the internal buffer.
virtual size_t getLengthLimit() const =0
Return the maximum length of rendered data that can fit in the corresponding DNS message without trun...