Kea 3.1.1
radius_service.h
Go to the documentation of this file.
1// Copyright (C) 2023-2025 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 RADIUS_SERVICE_H
8#define RADIUS_SERVICE_H
9
10#include <cc/cfg_to_element.h>
11#include <cc/data.h>
12#include <client_server.h>
13#include <cfg_attribute.h>
14#include <boost/noncopyable.hpp>
15#include <boost/shared_ptr.hpp>
16
17namespace isc {
18namespace radius {
19
24class RadiusService : public data::CfgToElement, public boost::noncopyable {
25public:
26
30 explicit RadiusService(const std::string& name);
31
33 virtual ~RadiusService() = default;
34
38 data::ElementPtr toElement() const override;
39
41 std::string name_;
42
45
48
51
54
57};
58
60typedef boost::shared_ptr<RadiusService> RadiusServicePtr;
61
62} // end of namespace isc::radius
63} // end of namespace isc
64
65#endif
Attribute data configuration.
bool peer_updates_
Peer updates flag.
CfgAttributes attributes_
Attribute configurations.
RadiusService(const std::string &name)
Constructor.
data::ElementPtr toElement() const override
Unparse service configuration.
size_t max_pending_requests_
Maximum number of pending requests.
Servers servers_
Server list.
virtual ~RadiusService()=default
Default destructor.
std::string name_
Name (access or accounting).
boost::shared_ptr< Element > ElementPtr
Definition data.h:28
std::vector< ServerPtr > Servers
Type of RADIUS server collection.
boost::shared_ptr< RadiusService > RadiusServicePtr
Type of pointers to Radius service.
Defines the logger used by the top-level component of kea-lfc.
Abstract class for configuration Cfg_* classes.