Kea 2.7.6
|
Abstract class for defining application layer receive callbacks. More...
#include <ncr_io.h>
Public Member Functions | |
virtual | ~RequestReceiveHandler () |
virtual void | operator() (const Result result, NameChangeRequestPtr &ncr)=0 |
Function operator implementing a NCR receive callback. | |
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.
|
inlinevirtual |
|
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.
result | contains that receive outcome status. |
ncr | is a pointer to the newly received NameChangeRequest if result is NameChangeListener::SUCCESS. It is indeterminate other wise. |
This | method MUST NOT throw. |
Implemented in isc::d2::D2QueueMgr.