39 std::string r(name_.
toText() +
" " + rrclass_.
toText() +
" " +
59 const size_t pos0 = renderer.getLength();
61 renderer.writeName(name_);
66 if (renderer.getLength() > renderer.getLengthLimit()) {
67 renderer.trim(renderer.getLength() - pos0);
68 renderer.setTruncated();
77 os << question.toText();
The AbstractMessageRenderer class is an abstract base class that provides common interfaces for rende...
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.