Kea 2.5.8
isc::ha::HAConfig::StateMachineConfig Class Reference

State machine configuration information. More...

#include <ha_config.h>

Public Member Functions

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

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 300 of file ha_config.h.

Constructor & Destructor Documentation

◆ StateMachineConfig()

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

Constructor.

Definition at line 304 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 151 of file ha_config.cc.


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