Kea 2.7.4
isc::dhcp::TrackingLeaseMgr::Callback Struct Reference

A structure representing a registered callback. More...

#include <tracking_lease_mgr.h>

Public Attributes

CallbackFn fn
 Callback function.
 
Lease::Type lease_type
 Lease types for which the callback should be invoked.
 
std::string owner
 An entity owning callback registration (e.g., FLQ allocator).
 
SubnetID subnet_id
 Subnet identifier associated with the callback.
 
CallbackType type
 Callback type (i.e., lease add, update, delete).
 

Detailed Description

A structure representing a registered callback.

It associates the callback with a type, its owner, subnet identifier, and a lease type. The owner is a string specified by the registration function caller. There must be at most one callback registered for the particular owner, subnet identifier and the lease type.

Definition at line 106 of file tracking_lease_mgr.h.

Member Data Documentation

◆ fn

CallbackFn isc::dhcp::TrackingLeaseMgr::Callback::fn

Callback function.

Definition at line 120 of file tracking_lease_mgr.h.

◆ lease_type

Lease::Type isc::dhcp::TrackingLeaseMgr::Callback::lease_type

Lease types for which the callback should be invoked.

Definition at line 117 of file tracking_lease_mgr.h.

◆ owner

std::string isc::dhcp::TrackingLeaseMgr::Callback::owner

An entity owning callback registration (e.g., FLQ allocator).

Definition at line 111 of file tracking_lease_mgr.h.

◆ subnet_id

SubnetID isc::dhcp::TrackingLeaseMgr::Callback::subnet_id

Subnet identifier associated with the callback.

Definition at line 114 of file tracking_lease_mgr.h.

◆ type

CallbackType isc::dhcp::TrackingLeaseMgr::Callback::type

Callback type (i.e., lease add, update, delete).

Definition at line 108 of file tracking_lease_mgr.h.


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