Kea  2.3.5-git
isc::d2::DNSClient::Callback Class Referenceabstract

Callback for the DNSClient class. More...

#include <dns_client.h>

+ Inheritance diagram for isc::d2::DNSClient::Callback:

Public Member Functions

virtual ~Callback ()
 Virtual destructor. More...
 
virtual void operator() (DNSClient::Status status)=0
 Function operator implementing a callback. More...
 

Detailed Description

Callback for the DNSClient class.

This is an abstract class which represents the external callback for the DNSClient. Caller must implement this class and supply its instance in the DNSClient constructor to get callbacks when the DNS Update exchange is complete (

See also
DNSClient).

Definition at line 72 of file dns_client.h.

Constructor & Destructor Documentation

◆ ~Callback()

virtual isc::d2::DNSClient::Callback::~Callback ( )
inlinevirtual

Virtual destructor.

Definition at line 75 of file dns_client.h.

References isc::d2::DNSClient::DNSClient(), isc::d2::DNSClient::doUpdate(), isc::d2::DNSClient::getMaxTimeout(), operator()(), isc::d2::DNSClient::UDP, and isc::d2::DNSClient::~DNSClient().

+ Here is the call graph for this function:

Member Function Documentation

◆ operator()()

virtual void isc::d2::DNSClient::Callback::operator() ( DNSClient::Status  status)
pure virtual

Function operator implementing a callback.

Parameters
statusa DNSClient::Status enum representing status code of DNSClient operation.

Implemented in isc::d2::NameChangeTransaction.

Referenced by ~Callback().


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