39 std::string r(name_.
toText() +
" " + rrclass_.
toText() +
" " +
The AbstractMessageRenderer class is an abstract base class that provides common interfaces for rende...
virtual void setTruncated()=0
Mark the renderer to indicate truncation has occurred while rendering.
void trim(size_t len)
Trim the specified length of data from the end of the internal buffer.
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...
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.
std::string toText(bool omit_final_dot=false) const
Convert the Name to a string.
void toWire(AbstractMessageRenderer &renderer) const
Render the Name in the wire format with compression.
The Question class encapsulates the common search key of DNS lookup, consisting of owner name,...
std::string toText(bool newline=false) const
Convert the Question to a string.
uint32_t toWire(AbstractMessageRenderer &renderer) const
Render the Question in the wire format with name compression.
Question(isc::util::InputBuffer &buff)
Constructor from wire-format data.
The RRClass class encapsulates DNS resource record classes.
void toWire(AbstractMessageRenderer &renderer) const
Render the RRClass in the wire format.
const std::string toText() const
Convert the RRClass to a string.
The RRType class encapsulates DNS resource record types.
void toWire(AbstractMessageRenderer &renderer) const
Render the RRType in the wire format.
const std::string toText() const
Convert the RRType to a string.
The OutputBuffer class is a buffer abstraction for manipulating mutable data.
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.