Kea  1.9.9-git
isc::asiodns::IOFetch::Callback Class Referenceabstract

I/O Fetch Callback. More...

#include <io_fetch.h>

+ Inheritance diagram for isc::asiodns::IOFetch::Callback:

Public Member Functions

 Callback ()
 Default Constructor. More...
virtual ~Callback ()
 Virtual Destructor. More...
virtual void operator() (Result result)=0
 Callback method. More...

Detailed Description

I/O Fetch Callback.

Class of callback object for when the fetch itself has completed - an object of this class is passed to the IOFetch constructor and its operator() method called when the fetch completes.

Note the difference between the two operator() methods:

  • IOFetch::operator() callback is called when an asynchronous I/O has completed.
  • IOFetch::Callback::operator() is called when an upstream fetch - which may have involved several asynchronous I/O operations - has completed.

This is an abstract class.

Definition at line 98 of file io_fetch.h.

Constructor & Destructor Documentation

isc::asiodns::IOFetch::Callback::Callback ( )

Default Constructor.

Definition at line 101 of file io_fetch.h.

virtual isc::asiodns::IOFetch::Callback::~Callback ( )

Virtual Destructor.

Definition at line 105 of file io_fetch.h.

Member Function Documentation

virtual void isc::asiodns::IOFetch::Callback::operator() ( Result  result)
pure virtual

Callback method.

This is the method called when the fetch completes.

resultResult of the fetch

Implemented in isc::d2::DNSClientImpl.

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