Kea  1.9.9-git
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 
12 
13 namespace isc {
14 namespace agent {
15 
27 public:
28 
34  : sole_creator_(new CtrlAgentResponseCreator()) {
35  }
36 
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
virtual http::HttpResponseCreatorPtr create() const
Returns an instance of the CtrlAgentResponseCreator which is used by HTTP server to generate response...
HTTP response creator factory for Control Agent.
boost::shared_ptr< HttpResponseCreator > HttpResponseCreatorPtr
Pointer to the HttpResponseCreator object.
Defines the logger used by the top-level component of kea-dhcp-ddns.
Concrete implementation of the HTTP response creator used by the Control Agent.
Specifies the interface for implementing custom factory classes used to create instances of HttpRespo...