Kea 2.7.0
isc::perfmon::AlarmParser Class Reference

Parses configuration parameters for a single Alarm. More...

#include <perfmon_config.h>

Public Member Functions

 AlarmParser ()
 ~AlarmParser ()=default

Static Public Member Functions

static AlarmPtr parse (data::ConstElementPtr config, uint16_t family)

Static Public Attributes

static const data::SimpleKeywords CONFIG_KEYWORDS
 List of valid parameters and expected types.

Detailed Description

Parses configuration parameters for a single Alarm.

Definition at line 115 of file perfmon_config.h.

Constructor & Destructor Documentation

◆ AlarmParser()

isc::perfmon::AlarmParser::AlarmParser ( )


◆ ~AlarmParser()

isc::perfmon::AlarmParser::~AlarmParser ( )


Member Function Documentation

◆ parse()

AlarmPtr isc::perfmon::AlarmParser::parse ( data::ConstElementPtr config,
uint16_t family )
configelement map containing the alarm parameters.
familyprotocol family AF_INET or AF_INET6.

Definition at line 204 of file

References isc::data::SimpleParser::checkKeywords(), CONFIG_KEYWORDS, isc_throw, and isc::perfmon::DurationKeyParser::parse().

Referenced by isc::perfmon::PerfMonConfig::parseAlarms().

+ Here is the call graph for this function:

Member Data Documentation


const data::SimpleKeywords isc::perfmon::AlarmParser::CONFIG_KEYWORDS
Initial value:
{"duration-key", Element::map},
{"enable-alarm", Element::boolean},
{"high-water-ms", Element::integer},
{"low-water-ms", Element::integer}

List of valid parameters and expected types.

Definition at line 118 of file perfmon_config.h.

Referenced by parse().

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