Kea 3.1.9
cmd_response_creator_factory.h
Go to the documentation of this file.
1// Copyright (C) 2021-2026 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 CMD_RESPONSE_CREATOR_FACTORY_H
8#define CMD_RESPONSE_CREATOR_FACTORY_H
9
12
13namespace isc {
14namespace config {
15
27public:
28
34 }
35
41 return (sole_creator_);
42 }
43
44private:
45
47 http::HttpResponseCreatorPtr sole_creator_;
48};
49
50} // end of namespace isc::config
51} // end of namespace isc
52
53#endif
virtual http::HttpResponseCreatorPtr create() const
Returns an instance of the CmdResponseCreator which is used by HTTP server to generate responses to c...
Concrete implementation of the HTTP response creator used for processing API commands.
Specifies the interface for implementing custom factory classes used to create instances of HttpRespo...
boost::shared_ptr< HttpResponseCreator > HttpResponseCreatorPtr
Pointer to the HttpResponseCreator object.
Defines the logger used by the top-level component of kea-lfc.