| Kea 3.0.2-git

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< BindingVariableCache > | BindingVariableCachePtr
| 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< BindingVariablePtr > | BindingVariableList
| Defines a list of BindingVariablePtr instances.
typedef boost::shared_ptr< BindingVariableList > | BindingVariableListPtr
| Defines a pointer to a list of BindingVariablePtrs.
typedef boost::shared_ptr< BindingVariableMgr > | BindingVariableMgrPtr
| Defines a shared pointer to a BindingVariableMgr.
typedef boost::shared_ptr< BindingVariable > | BindingVariablePtr
| 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

typedef boost::shared_ptr<BindingVariableCache> isc::lease_cmds::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

typedef std::list<BindingVariablePtr> isc::lease_cmds::BindingVariableList

Defines a list of BindingVariablePtr instances.

Definition at line 149 of file binding_variables.h.

## ◆ BindingVariableListPtr

typedef boost::shared_ptr<BindingVariableList> isc::lease_cmds::BindingVariableListPtr

Defines a pointer to a list of BindingVariablePtrs.

Definition at line 152 of file binding_variables.h.

## ◆ BindingVariableMgrPtr

typedef boost::shared_ptr<BindingVariableMgr> isc::lease_cmds::BindingVariableMgrPtr

Defines a shared pointer to a BindingVariableMgr.

Definition at line 321 of file binding_variables.h.

## ◆ BindingVariablePtr

typedef boost::shared_ptr<BindingVariable> isc::lease_cmds::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

const int isc::lease_cmds::LEASE_CMDS_DBG_COMMAND_DATA = isc::log::DBGLVL_COMMAND_DATA
| extern

Logging level used to log successful commands.

Definition at line 18 of file lease_cmds_log.h.

Referenced by isc::lease_cmds::LeaseCmdsImpl::lease4DelHandler(), isc::lease_cmds::LeaseCmdsImpl::lease4UpdateHandler(), isc::lease_cmds::LeaseCmdsImpl::lease6BulkApplyHandler(), isc::lease_cmds::LeaseCmdsImpl::lease6DelHandler(), isc::lease_cmds::LeaseCmdsImpl::lease6UpdateHandler(), and isc::lease_cmds::LeaseCmdsImpl::leaseAddHandler().

## ◆ lease_cmds_logger

isc::log::Logger isc::lease_cmds::lease_cmds_logger | ( | "lease-cmds-hooks" |  | ) |

Definition at line 20 of file lease_cmds_log.h.

Referenced by lease4_offer(), isc::lease_cmds::LeaseCmdsImpl::lease4DelHandler(), isc::lease_cmds::LeaseCmdsImpl::lease4ResendDdnsHandler(), isc::lease_cmds::LeaseCmdsImpl::lease4UpdateHandler(), isc::lease_cmds::LeaseCmdsImpl::lease4WipeHandler(), isc::lease_cmds::LeaseCmdsImpl::lease6BulkApplyHandler(), isc::lease_cmds::LeaseCmdsImpl::lease6DelHandler(), isc::lease_cmds::LeaseCmdsImpl::lease6ResendDdnsHandler(), isc::lease_cmds::LeaseCmdsImpl::lease6UpdateHandler(), isc::lease_cmds::LeaseCmdsImpl::lease6WipeHandler(), isc::lease_cmds::LeaseCmdsImpl::leaseAddHandler(), isc::lease_cmds::LeaseCmdsImpl::leaseGetHandler(), leases4_committed(), leases6_committed(), isc::lease_cmds::LeaseCmdsImpl::leases6Committed(), load(), and unload().