isc::dns::MessageRendererImpl Struct Reference

The MessageRendererImpl class is the actual implementation of MessageRenderer. More...

List of all members.

Public Member Functions

 MessageRendererImpl (OutputBuffer &buffer)
 Constructor from an output buffer.

Public Attributes

OutputBufferbuffer_
 The buffer that holds the entire DNS message.
OutputBuffer nbuffer_
 A local working buffer to convert each given name into wire format.
std::set< NameCompressNode,
NameCompare > 
nodeset_
 A set of compression pointers.

Detailed Description

The MessageRendererImpl class is the actual implementation of MessageRenderer.

The implementation is hidden from applications. We can refer to specific members of this class only within this file.


Constructor & Destructor Documentation

isc::dns::MessageRendererImpl::MessageRendererImpl ( OutputBuffer buffer  ) 

Constructor from an output buffer.

Parameters:
buffer An OutputBuffer object to which wire format data is written.

Member Data Documentation

The buffer that holds the entire DNS message.

Referenced by isc::dns::MessageRenderer::writeName().

A local working buffer to convert each given name into wire format.

This could be a local variable of the writeName() method, but we keep it in the class so that we can reuse it and avoid construction overhead.

Referenced by isc::dns::MessageRenderer::writeName().

std::set<NameCompressNode, NameCompare> isc::dns::MessageRendererImpl::nodeset_

A set of compression pointers.

Referenced by isc::dns::MessageRenderer::writeName().


The documentation for this struct was generated from the following file:

Generated on Fri Dec 18 20:59:07 2009 for BIND by  doxygen 1.6.1