Kea  1.9.9-git
isc::dhcp::AllocEngine::HashedAllocator Class Reference

Address/prefix allocator that gets an address based on a hash. More...

#include <alloc_engine.h>

+ Inheritance diagram for isc::dhcp::AllocEngine::HashedAllocator:

Public Member Functions

 HashedAllocator (Lease::Type type)
 Default constructor (does nothing) More...
 
- Public Member Functions inherited from isc::dhcp::AllocEngine::Allocator
 Allocator (Lease::Type pool_type)
 Default constructor. More...
 
virtual ~Allocator ()
 Virtual destructor. More...
 
virtual isc::asiolink::IOAddress pickAddress (const SubnetPtr &subnet, const ClientClasses &client_classes, const DuidPtr &duid, const isc::asiolink::IOAddress &hint)
 Picks one address out of available pools in a given subnet. More...
 

Additional Inherited Members

- Protected Attributes inherited from isc::dhcp::AllocEngine::Allocator
Lease::Type pool_type_
 Defines pool type allocation. More...
 

Detailed Description

Address/prefix allocator that gets an address based on a hash.

Todo:
: This is a skeleton class for now and is missing an implementation.

Definition at line 208 of file alloc_engine.h.

Constructor & Destructor Documentation

isc::dhcp::AllocEngine::HashedAllocator::HashedAllocator ( Lease::Type  type)

Default constructor (does nothing)

Parameters
type- specifies allocation type

Definition at line 289 of file alloc_engine.cc.

References isc_throw.


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