Kea  2.1.7-git
ncr_msg.h File Reference

This file provides the classes needed to embody, compose, and decompose DNS update requests that are sent by DHCP-DDNS clients to DHCP-DDNS. More...

#include <cc/data.h>
#include <dhcp/duid.h>
#include <dhcp/hwaddr.h>
#include <dns/name.h>
#include <exceptions/exceptions.h>
#include <util/buffer.h>
#include <util/time_utilities.h>
#include <time.h>
#include <string>
+ Include dependency graph for ncr_msg.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  isc::dhcp_ddns::D2Dhcid
 Container class for handling the DHCID value within a NameChangeRequest. More...
 
class  isc::dhcp_ddns::DhcidRdataComputeError
 Exception thrown when there is an error occurred during computation of the DHCID. More...
 
class  isc::dhcp_ddns::NameChangeRequest
 Represents a DHCP-DDNS client request. More...
 
class  isc::dhcp_ddns::NcrMessageError
 Exception thrown when NameChangeRequest marshalling error occurs. More...
 

Namespaces

 isc
 Defines the logger used by the top-level component of kea-lfc.
 
 isc::dhcp_ddns
 

Typedefs

typedef std::map< std::string, isc::data::ConstElementPtrisc::dhcp_ddns::ElementMap
 Defines a map of Elements, keyed by their string name. More...
 
typedef boost::shared_ptr< NameChangeRequest > isc::dhcp_ddns::NameChangeRequestPtr
 Defines a pointer to a NameChangeRequest. More...
 

Enumerations

enum  isc::dhcp_ddns::NameChangeFormat { isc::dhcp_ddns::FMT_JSON }
 Defines the list of data wire formats supported. More...
 
enum  isc::dhcp_ddns::NameChangeStatus { isc::dhcp_ddns::ST_NEW, isc::dhcp_ddns::ST_PENDING, isc::dhcp_ddns::ST_COMPLETED, isc::dhcp_ddns::ST_FAILED }
 Defines the runtime processing status values for requests. More...
 
enum  isc::dhcp_ddns::NameChangeType { isc::dhcp_ddns::CHG_ADD, isc::dhcp_ddns::CHG_REMOVE }
 Defines the types of DNS updates that can be requested. More...
 

Functions

std::string isc::dhcp_ddns::ncrFormatToString (NameChangeFormat format)
 Function which converts NameChangeFormat enums to text labels. More...
 
std::ostream & isc::dhcp_ddns::operator<< (std::ostream &os, const D2Dhcid &dhcid)
 
NameChangeFormat isc::dhcp_ddns::stringToNcrFormat (const std::string &fmt_str)
 Function which converts labels to NameChangeFormat enum values. More...
 

Detailed Description

This file provides the classes needed to embody, compose, and decompose DNS update requests that are sent by DHCP-DDNS clients to DHCP-DDNS.

These requests are referred to as NameChangeRequests.

Definition in file ncr_msg.h.