Kea 2.7.6
isc::dhcp::AllocationState Class Reference

Base class for representing allocation state in pools and subnets. More...

#include <allocation_state.h>

+ Inheritance diagram for isc::dhcp::AllocationState:

Public Member Functions

virtual ~AllocationState ()=default
 Virtual destructor.
 

Detailed Description

Base class for representing allocation state in pools and subnets.

Allocators are used in Kea to implement different lease selection algorithms. They are stateful (i.e., they remember various information about the previous allocations) to work efficiently. For example, an iterative allocator must remember the last allocated address to pick the consecutive address when the new allocation request is issued. Allocation states differ between the allocators. State classes used by different allocators derive from this class.

The allocation states can be associated with pools and/or subnets. Both pool-specific and subnet-specific states derive from this class.

Definition at line 31 of file allocation_state.h.

Constructor & Destructor Documentation

◆ ~AllocationState()

virtual isc::dhcp::AllocationState::~AllocationState ( )
virtualdefault

Virtual destructor.


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