Kea: command_mgr.cc Source File

| Kea 3.2.0-git

command_mgr.cc
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#include <config.h>
8
9#include <config/command_mgr.h>
10
11namespace isc {
12namespace config {
13
14CommandMgr::CommandMgr() : HookedCommandMgr() {
15}
16
17CommandMgr&
18CommandMgr::instance() {
19 static CommandMgr cmd_mgr;
20 return (cmd_mgr);
21}
22
23} // end of isc::config
24} // end of isc
isc::config::CommandMgr::instance
static CommandMgr & instance()
CommandMgr is a singleton class.
Definition command_mgr.cc:18
isc::config::HookedCommandMgr
Command Manager which can delegate commands to a hook library.
Definition hooked_command_mgr.h:39
command_mgr.h
isc::config
Definition command_interpreter.cc:23
isc
Defines the logger used by the top-level component of kea-lfc.
Definition check_exists_add.cc:18