Kea 2.5.9
isc::dhcp_ddns::NameChangeListener::RequestReceiveHandler Class Referenceabstract

Abstract class for defining application layer receive callbacks. More...

#include <ncr_io.h>

+ Inheritance diagram for isc::dhcp_ddns::NameChangeListener::RequestReceiveHandler:

Public Member Functions

virtual ~RequestReceiveHandler ()
virtual void operator() (const Result result, NameChangeRequestPtr &ncr)=0
 Function operator implementing a NCR receive callback.

Detailed Description

Abstract class for defining application layer receive callbacks.

Applications which will receive NameChangeRequests must provide a derivation of this class to the listener constructor in order to receive NameChangeRequests.

Definition at line 183 of file ncr_io.h.

Constructor & Destructor Documentation

◆ ~RequestReceiveHandler()

virtual isc::dhcp_ddns::NameChangeListener::RequestReceiveHandler::~RequestReceiveHandler ( )

Definition at line 201 of file ncr_io.h.

Member Function Documentation

◆ operator()()

virtual void isc::dhcp_ddns::NameChangeListener::RequestReceiveHandler::operator() ( const Result  result,
NameChangeRequestPtr ncr 
pure virtual

Function operator implementing a NCR receive callback.

This method allows the application to receive the inbound NameChangeRequests. It is intended to function as a hand off of information and should probably not be time-consuming.

resultcontains that receive outcome status.
ncris a pointer to the newly received NameChangeRequest if result is NameChangeListener::SUCCESS. It is indeterminate other wise.
Thismethod MUST NOT throw.

Implemented in isc::d2::D2QueueMgr.

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