Kea  1.9.9-git
isc::dns::rdata::generic::OPT::PseudoRR Class Reference

A class representing a pseudo RR (or option) within an OPT RR (see RFC 6891). More...

#include <rdataclass.h>

Public Member Functions

 PseudoRR (uint16_t code, boost::shared_ptr< std::vector< uint8_t > > &data)
 Constructor. More...
 
uint16_t getCode () const
 Return the option code of this pseudo RR. More...
 
const uint8_t * getData () const
 Return the option data of this pseudo RR. More...
 
uint16_t getLength () const
 Return the length of the option data of this pseudo RR. More...
 

Detailed Description

A class representing a pseudo RR (or option) within an OPT RR (see RFC 6891).

Definition at line 1521 of file rdataclass.h.

Constructor & Destructor Documentation

isc::dns::rdata::generic::OPT::PseudoRR::PseudoRR ( uint16_t  code,
boost::shared_ptr< std::vector< uint8_t > > &  data 
)

Constructor.

Parameters
codeThe OPTION-CODE field of the pseudo RR.
dataThe OPTION-DATA field of the pseudo RR. OPTION-LENGTH is set to the length of this vector.

Member Function Documentation

uint16_t isc::dns::rdata::generic::OPT::PseudoRR::getCode ( ) const

Return the option code of this pseudo RR.

const uint8_t* isc::dns::rdata::generic::OPT::PseudoRR::getData ( ) const

Return the option data of this pseudo RR.

uint16_t isc::dns::rdata::generic::OPT::PseudoRR::getLength ( ) const

Return the length of the option data of this pseudo RR.


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