pion-net
4.0.9
Main Page
Namespaces
Classes
Files
File List
net
services
AllowNothingService.hpp
1
// ------------------------------------------------------------------
2
// pion-net: a C++ framework for building lightweight HTTP interfaces
3
// ------------------------------------------------------------------
4
// Copyright (C) 2007-2008 Atomic Labs, Inc. (http://www.atomiclabs.com)
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_ALLOW_NOTHING_SERVICE_HEADER__
11
#define __PION_ALLOW_NOTHING_SERVICE_HEADER__
12
13
#include <pion/net/WebService.hpp>
14
15
16
namespace
pion {
// begin namespace pion
17
namespace
plugins {
// begin namespace plugins
18
23
class
AllowNothingService
:
public
pion::net::WebService
24
{
25
public
:
26
AllowNothingService
(
void
) {}
27
~
AllowNothingService
() {}
28
virtual
void
operator()
(pion::net::HTTPRequestPtr& request,
29
pion::net::TCPConnectionPtr& tcp_conn);
30
};
31
32
}
// end namespace plugins
33
}
// end namespace pion
34
35
#endif
Generated by
1.8.1.2