pion
5.0.6
services
HelloService.hpp
1
// ---------------------------------------------------------------------
2
// pion: a Boost C++ framework for building lightweight HTTP interfaces
3
// ---------------------------------------------------------------------
4
// Copyright (C) 2007-2014 Splunk Inc. (https://github.com/splunk/pion)
5
//
6
// Distributed under the Boost Software License, Version 1.0.
7
// See http://www.boost.org/LICENSE_1_0.txt
8
//
9
10
#ifndef __PION_HELLOSERVICE_HEADER__
11
#define __PION_HELLOSERVICE_HEADER__
12
13
#include <pion/http/plugin_service.hpp>
14
15
16
namespace
pion
{
// begin namespace pion
17
namespace
plugins {
// begin namespace plugins
18
22
class
HelloService
:
23
public
pion::http::plugin_service
24
{
25
public
:
26
HelloService
(
void
) {}
27
virtual
~
HelloService
() {}
28
virtual
void
operator()
(
const
pion::http::request_ptr& http_request_ptr,
29
const
pion::tcp::connection_ptr& tcp_conn);
30
};
31
32
}
// end namespace plugins
33
}
// end namespace pion
34
35
#endif
pion::http::plugin_service
Definition:
plugin_service.hpp:29
pion::plugins::HelloService::operator()
virtual void operator()(const pion::http::request_ptr &http_request_ptr, const pion::tcp::connection_ptr &tcp_conn)
handles requests for HelloService
Definition:
HelloService.cpp:22
pion::plugins::HelloService
Definition:
HelloService.hpp:22
pion
Definition:
admin_rights.hpp:19
Generated by
1.8.13