Kea 2.7.6
|
Base class for representing allocation state in pools and subnets. More...
#include <allocation_state.h>
Public Member Functions | |
virtual | ~AllocationState ()=default |
Virtual destructor. | |
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.
|
virtualdefault |
Virtual destructor.