Kea
2.7.5
expiration_config_parser.h
Go to the documentation of this file.
1
// Copyright (C) 2015-2024 Internet Systems Consortium, Inc. ("ISC")
2
//
3
// This Source Code Form is subject to the terms of the Mozilla Public
4
// License, v. 2.0. If a copy of the MPL was not distributed with this
5
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7
#ifndef EXPIRATION_CONFIG_PARSER_H
8
#define EXPIRATION_CONFIG_PARSER_H
9
10
#include <
cc/data.h
>
11
#include <
cc/simple_parser.h
>
12
13
namespace
isc
{
14
namespace
dhcp {
15
16
39
class
ExpirationConfigParser
:
public
isc::data::SimpleParser
{
40
public
:
41
43
virtual
~ExpirationConfigParser
() { }
44
53
void
parse
(
isc::data::ConstElementPtr
expiration_config,
54
isc::dhcp::CfgExpirationPtr
expiration);
55
};
56
57
}
// end of namespace isc::dhcp
58
}
// end of namespace isc
59
60
#endif
// EXPIRATION_CONFIG_PARSER_H
isc::data::SimpleParser
A simple parser.
Definition
lib/cc/simple_parser.h:68
isc::dhcp::ExpirationConfigParser
Parser for the configuration parameters pertaining to the processing of expired leases.
Definition
expiration_config_parser.h:39
isc::dhcp::ExpirationConfigParser::~ExpirationConfigParser
virtual ~ExpirationConfigParser()
Destructor.
Definition
expiration_config_parser.h:43
isc::dhcp::ExpirationConfigParser::parse
void parse(isc::data::ConstElementPtr expiration_config, isc::dhcp::CfgExpirationPtr expiration)
Parses parameters in the JSON map, pertaining to the processing of the expired leases.
Definition
expiration_config_parser.cc:21
data.h
simple_parser.h
isc::data::ConstElementPtr
boost::shared_ptr< const Element > ConstElementPtr
Definition
data.h:29
isc::dhcp::CfgExpirationPtr
boost::shared_ptr< CfgExpiration > CfgExpirationPtr
Definition
cfg_expiration.h:275
isc
Defines the logger used by the top-level component of kea-lfc.
Definition
agent_parser.cc:148
src
lib
dhcpsrv
parsers
expiration_config_parser.h
Generated on Wed Nov 20 2024 11:53:25 for Kea by
1.10.0