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