Kea
1.5.0
ca_response_creator_factory.h
Go to the documentation of this file.
1
// Copyright (C) 2017 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 CTRL_AGENT_RESPONSE_CREATOR_FACTORY_H
8
#define CTRL_AGENT_RESPONSE_CREATOR_FACTORY_H
9
10
#include <
agent/ca_response_creator.h
>
11
#include <
http/response_creator_factory.h
>
12
13
namespace
isc
{
14
namespace
agent {
15
26
class
CtrlAgentResponseCreatorFactory
:
public
http::HttpResponseCreatorFactory
{
27
public
:
28
33
CtrlAgentResponseCreatorFactory
()
34
: sole_creator_(new
CtrlAgentResponseCreator
()) {
35
}
36
41
virtual
http::HttpResponseCreatorPtr
create
()
const
{
42
return
(sole_creator_);
43
}
44
45
private
:
46
48
http::HttpResponseCreatorPtr
sole_creator_;
49
50
};
51
52
}
// end of namespace isc::agent
53
}
// end of namespace isc
54
55
#endif
isc::http::HttpResponseCreatorFactory
Specifies the interface for implementing custom factory classes used to create instances of HttpRespo...
Definition:
response_creator_factory.h:35
isc
Defines the logger used by the top-level component of kea-dhcp-ddns.
Definition:
agent_parser.cc:144
isc::http::HttpResponseCreatorPtr
boost::shared_ptr< HttpResponseCreator > HttpResponseCreatorPtr
Pointer to the HttpResponseCreator object.
Definition:
response_creator.h:17
response_creator_factory.h
isc::agent::CtrlAgentResponseCreatorFactory::create
virtual http::HttpResponseCreatorPtr create() const
Returns an instance of the CtrlAgentResponseCreator which is used by HTTP server to generate response...
Definition:
ca_response_creator_factory.h:41
ca_response_creator.h
isc::agent::CtrlAgentResponseCreatorFactory
HTTP response creator factory for Control Agent.
Definition:
ca_response_creator_factory.h:26
isc::agent::CtrlAgentResponseCreator
Concrete implementation of the HTTP response creator used by the Control Agent.
Definition:
ca_response_creator.h:36
isc::agent::CtrlAgentResponseCreatorFactory::CtrlAgentResponseCreatorFactory
CtrlAgentResponseCreatorFactory()
Constructor.
Definition:
ca_response_creator_factory.h:33
src
bin
agent
ca_response_creator_factory.h
Generated on Fri Jul 10 2020 09:12:51 for Kea by
1.8.18