Kea 2.7.7
command_mgr.h
Go to the documentation of this file.
1// Copyright (C) 2015-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 COMMAND_MGR_H
8#define COMMAND_MGR_H
9
11#include <boost/noncopyable.hpp>
12
13namespace isc {
14namespace config {
15
17class BadSocketInfo : public Exception {
18public:
19 BadSocketInfo(const char* file, size_t line, const char* what) :
20 isc::Exception(file, line, what) { }
21};
22
27class CommandMgr : public HookedCommandMgr, public boost::noncopyable {
28public:
29
34 static CommandMgr& instance();
35
36private:
37
39 CommandMgr();
40};
41
42} // end of isc::config namespace
43} // end of isc namespace
44#endif
This is a base class for exceptions thrown from the DNS library module.
virtual const char * what() const
Returns a C-style character string of the cause of the exception.
An exception indicating that specified socket parameters are invalid.
Definition command_mgr.h:17
BadSocketInfo(const char *file, size_t line, const char *what)
Definition command_mgr.h:19
Commands Manager implementation for the Kea servers.
Definition command_mgr.h:27
static CommandMgr & instance()
CommandMgr is a singleton class.
Command Manager which can delegate commands to a hook library.
Defines the logger used by the top-level component of kea-lfc.