26    name_(buffer), rrtype_(0), rrclass_(0) {
 
 
   39    std::string r(name_.toText() + 
" " + rrclass_.toText() + 
" " +
 
 
   51    rrtype_.toWire(buffer);
 
   52    rrclass_.toWire(buffer);    
 
 
   62    rrtype_.toWire(renderer);
 
   63    rrclass_.toWire(renderer);
 
 
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.
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.
The RRType class encapsulates DNS resource record types.
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.