Kea 2.7.6
http_command_response_creator_factory.h
Go to the documentation of this file.
1// Copyright (C) 2021-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 HTTP_COMMAND_RESPONSE_CREATOR_FACTORY_H
8#define HTTP_COMMAND_RESPONSE_CREATOR_FACTORY_H
9
13
14namespace isc {
15namespace config {
16
33public:
34
44
50 return (sole_creator_);
51 }
52
53private:
54
56 http::HttpResponseCreatorPtr sole_creator_;
57};
58
59} // end of namespace isc::config
60} // end of namespace isc
61
62#endif
HTTP response creator factory for HTTP control socket.
HttpCommandResponseCreatorFactory(HttpCommandConfigPtr config)
Constructor.
virtual http::HttpResponseCreatorPtr create() const
Returns an instance of the HttpCommandResponseCreator which is used by HTTP server to generate respon...
Concrete implementation of the HTTP response creator used for HTTP control socket.
Specifies the interface for implementing custom factory classes used to create instances of HttpRespo...
boost::shared_ptr< HttpCommandConfig > HttpCommandConfigPtr
Pointer to a HttpCommandConfig object.
boost::shared_ptr< HttpResponseCreator > HttpResponseCreatorPtr
Pointer to the HttpResponseCreator object.
Defines the logger used by the top-level component of kea-lfc.