Kea  2.3.5-git
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 HTTP_RESPONSE_CREATOR_FACTORY_H
8 #define HTTP_RESPONSE_CREATOR_FACTORY_H
9 
10 #include <http/response_creator.h>
11 #include <boost/shared_ptr.hpp>
12 
13 namespace isc {
14 namespace http {
15 
36 public:
37 
40 
48  virtual HttpResponseCreatorPtr create() const = 0;
49 
50 };
51 
53 typedef boost::shared_ptr<HttpResponseCreatorFactory>
55 
56 } // end of namespace isc::http
57 } // end of namespace isc
58 
59 #endif
boost::shared_ptr< HttpResponseCreatorFactory > HttpResponseCreatorFactoryPtr
Pointer to the HttpResponseCreatorFactory.
virtual HttpResponseCreatorPtr create() const =0
Returns an instance of the HttpResponseCreator.
boost::shared_ptr< HttpResponseCreator > HttpResponseCreatorPtr
Pointer to the HttpResponseCreator object.
Defines the logger used by the top-level component of kea-lfc.
virtual ~HttpResponseCreatorFactory()
Virtual destructor.
Specifies the interface for implementing custom factory classes used to create instances of HttpRespo...