Kea: config_backend_dhcp6_mgr.h Source File

| Kea 3.2.0-git

config_backend_dhcp6_mgr.h
Go to the documentation of this file.
1// Copyright (C) 2019-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 CONFIG_BACKEND_DHCP6_MGR_H
8#define CONFIG_BACKEND_DHCP6_MGR_H
9
10#include <config_backend/base_config_backend_mgr.h>
11#include <dhcpsrv/config_backend_pool_dhcp6.h>
12
13#include <boost/scoped_ptr.hpp>
14
15namespace isc {
16namespace dhcp {
17
33 class ConfigBackendDHCPv6Mgr : public cb::BaseConfigBackendMgr<ConfigBackendPoolDHCPv6>,
34 public boost::noncopyable {
35public:
41 static void create();
42
48 static void destroy();
49
57 static ConfigBackendDHCPv6Mgr& instance();
58
59private:
61 ConfigBackendDHCPv6Mgr() {}
62
65 static boost::scoped_ptr<ConfigBackendDHCPv6Mgr>& getConfigBackendDHCPv6MgrPtr();
66};
67
68} // end of namespace isc::dhcp
69} // end of namespace isc
70
71#endif // CONFIG_BACKEND_DHCP6_MGR_H
base_config_backend_mgr.h
isc::cb::BaseConfigBackendMgr
Base class for Configuration Backend Managers (CBM).
Definition base_config_backend_mgr.h:61
isc::dhcp::ConfigBackendDHCPv6Mgr::create
static void create()
Creates new instance of the ConfigBackendDHCPv6Mgr.
Definition config_backend_dhcp6_mgr.cc:22
isc::dhcp::ConfigBackendDHCPv6Mgr::destroy
static void destroy()
Destroys the instance of the ConfigBackendDHCPv6Mgr.
Definition config_backend_dhcp6_mgr.cc:27
isc::dhcp::ConfigBackendDHCPv6Mgr::instance
static ConfigBackendDHCPv6Mgr & instance()
Returns a sole instance of the ConfigBackendDHCPv6Mgr.
Definition config_backend_dhcp6_mgr.cc:32
config_backend_pool_dhcp6.h
isc::dhcp
Definition dhcp4/client_handler.cc:20
isc
Defines the logger used by the top-level component of kea-lfc.
Definition check_exists_add.cc:18