Kea 2.7.8
isc::lease_cmds Namespace Reference

Classes

class  BindingVariable
 Embodies a named expression, whose output when evaluated can be stored in a lease's user-context. More...
 
class  BindingVariableCache
 BindingVariableCache stores binding variables. More...
 
class  BindingVariableMgr
 Singleton which warehouses the configured binding variables, and evaluation of variables for a given lease and packet pair. More...
 
class  Lease4Parser
 Parser for Lease4 structure. More...
 
class  Lease6Parser
 Parser for Lease6 structure. More...
 
class  LeaseCmds
 Implements the logic for processing commands pertaining to lease manipulation. More...
 
class  LeaseCmdsImpl
 Wrapper class around reservation command handlers. More...
 
struct  VariableNameTag
 Tag for the name index. More...
 
struct  VariableSequenceTag
 Tag for the sequence index. More...
 
struct  VariableSourceTag
 Tag for the source index. More...
 

Typedefs

typedef boost::shared_ptr< BindingVariableCacheBindingVariableCachePtr
 Defines a shared pointer to a BindingVariableCache.
 
typedef boost::multi_index_container< BindingVariablePtr, boost::multi_index::indexed_by< boost::multi_index::sequenced< boost::multi_index::tag< VariableSequenceTag > >, boost::multi_index::hashed_unique< boost::multi_index::tag< VariableNameTag >, boost::multi_index::const_mem_fun< BindingVariable, std::string, &BindingVariable::getName > >, boost::multi_index::ordered_non_unique< boost::multi_index::tag< VariableSourceTag >, boost::multi_index::const_mem_fun< BindingVariable, BindingVariable::Source, &BindingVariable::getSource > > > > BindingVariableContainer
 the client class multi-index.
 
typedef std::list< BindingVariablePtrBindingVariableList
 Defines a list of BindingVariablePtr instances.
 
typedef boost::shared_ptr< BindingVariableListBindingVariableListPtr
 Defines a pointer to a list of BindingVariablePtrs.
 
typedef boost::shared_ptr< BindingVariableMgrBindingVariableMgrPtr
 Defines a shared pointer to a BindingVariableMgr.
 
typedef boost::shared_ptr< BindingVariableBindingVariablePtr
 Defines a shared pointer to a BindingVariable.
 

Variables

BindingVariableMgrPtr binding_var_mgr
 Singleton that manages configured binding variables.
 
const int LEASE_CMDS_DBG_COMMAND_DATA = isc::log::DBGLVL_COMMAND_DATA
 Logging level used to log successful commands.
 
isc::log::Logger lease_cmds_logger ("lease-cmds-hooks")
 

Typedef Documentation

◆ BindingVariableCachePtr

Defines a shared pointer to a BindingVariableCache.

Definition at line 250 of file binding_variables.h.

◆ BindingVariableContainer

typedef boost::multi_index_container< BindingVariablePtr, boost::multi_index::indexed_by< boost::multi_index::sequenced< boost::multi_index::tag<VariableSequenceTag> >, boost::multi_index::hashed_unique< boost::multi_index::tag<VariableNameTag>, boost::multi_index::const_mem_fun<BindingVariable, std::string, &BindingVariable::getName> >, boost::multi_index::ordered_non_unique< boost::multi_index::tag<VariableSourceTag>, boost::multi_index::const_mem_fun<BindingVariable, BindingVariable::Source, &BindingVariable::getSource> > >> isc::lease_cmds::BindingVariableContainer

the client class multi-index.

Definition at line 186 of file binding_variables.h.

◆ BindingVariableList

Defines a list of BindingVariablePtr instances.

Definition at line 149 of file binding_variables.h.

◆ BindingVariableListPtr

Defines a pointer to a list of BindingVariablePtrs.

Definition at line 152 of file binding_variables.h.

◆ BindingVariableMgrPtr

Defines a shared pointer to a BindingVariableMgr.

Definition at line 321 of file binding_variables.h.

◆ BindingVariablePtr

Defines a shared pointer to a BindingVariable.

Definition at line 33 of file binding_variables.h.

Variable Documentation

◆ binding_var_mgr

BindingVariableMgrPtr isc::lease_cmds::binding_var_mgr

Singleton that manages configured binding variables.

Definition at line 32 of file lease_cmds_callouts.cc.

Referenced by lease4_offer(), leases4_committed(), leases6_committed(), and load().

◆ LEASE_CMDS_DBG_COMMAND_DATA

◆ lease_cmds_logger