The MessageRendererImpl
class is the actual implementation of MessageRenderer
.
More...
Public Member Functions | |
MessageRendererImpl (OutputBuffer &buffer) | |
Constructor from an output buffer. | |
Public Attributes | |
OutputBuffer & | buffer_ |
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. |
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.
isc::dns::MessageRendererImpl::MessageRendererImpl | ( | OutputBuffer & | buffer | ) |
Constructor from an output buffer.
buffer | An OutputBuffer object to which wire format data is written. |
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().