Kea  2.3.6-git
isc::ha::HAConfig::StateMachineConfig Class Reference

State machine configuration information. More...

#include <ha_config.h>

Public Member Functions

 StateMachineConfig ()
 Constructor. More...
 
StateConfigPtr getStateConfig (const int state)
 Returns pointer to the state specific configuration. More...
 

Detailed Description

State machine configuration information.

Currently it merely contains a collection of states specific configurations. In the future it may also contain global state machine configuration parameters.

Definition at line 287 of file ha_config.h.

Constructor & Destructor Documentation

◆ StateMachineConfig()

isc::ha::HAConfig::StateMachineConfig::StateMachineConfig ( )
inline

Constructor.

Definition at line 291 of file ha_config.h.

Member Function Documentation

◆ getStateConfig()

HAConfig::StateConfigPtr isc::ha::HAConfig::StateMachineConfig::getStateConfig ( const int  state)

Returns pointer to the state specific configuration.

If requested configuration doesn't exist yet, it is created.

Parameters
stateidentifier of the state for which configuration object should be returned.
Returns
Pointer to the state configuration.

Definition at line 148 of file ha_config.cc.

References isc::ha::HAConfig::StateConfig::StateConfig().

+ Here is the call graph for this function:

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