| Kea 3.0.2-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
35 class HttpResponseCreatorFactory {
36 public:
37
39 virtual ~HttpResponseCreatorFactory() { }
40
48 virtual HttpResponseCreatorPtr create() const = 0;
49
50};
51
53 typedef boost::shared_ptr<HttpResponseCreatorFactory>
54 HttpResponseCreatorFactoryPtr;
55
56} // end of namespace isc::http
57} // end of namespace isc
58
59#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::http::HttpResponseCreatorFactory::create
virtual HttpResponseCreatorPtr create() const =0
Returns an instance of the HttpResponseCreator.
isc::http::HttpResponseCreatorFactory::~HttpResponseCreatorFactory
virtual ~HttpResponseCreatorFactory()
Virtual destructor.
Definition response_creator_factory.h:39
isc::http
Definition auth_config.h:19
isc::http::HttpResponseCreatorPtr
boost::shared_ptr< HttpResponseCreator > HttpResponseCreatorPtr
Pointer to the HttpResponseCreator object.
Definition response_creator.h:20
isc::http::HttpResponseCreatorFactoryPtr
boost::shared_ptr< HttpResponseCreatorFactory > HttpResponseCreatorFactoryPtr
Pointer to the HttpResponseCreatorFactory.
Definition response_creator_factory.h:54
isc
Defines the logger used by the top-level component of kea-lfc.
Definition agent_parser.cc:148
response_creator.h