net/services/HelloService.hpp

00001 // ------------------------------------------------------------------
00002 // pion-net: a C++ framework for building lightweight HTTP interfaces
00003 // ------------------------------------------------------------------
00004 // Copyright (C) 2007-2008 Atomic Labs, Inc.  (http://www.atomiclabs.com)
00005 //
00006 // Distributed under the Boost Software License, Version 1.0.
00007 // See http://www.boost.org/LICENSE_1_0.txt
00008 //
00009 
00010 #ifndef __PION_HELLOSERVICE_HEADER__
00011 #define __PION_HELLOSERVICE_HEADER__
00012 
00013 #include <pion/net/WebService.hpp>
00014 
00015 
00016 namespace pion {        // begin namespace pion
00017 namespace plugins {     // begin namespace plugins
00018 
00022 class HelloService :
00023     public pion::net::WebService
00024 {
00025 public:
00026     HelloService(void) {}
00027     virtual ~HelloService() {}
00028     virtual void operator()(pion::net::HTTPRequestPtr& request,
00029                             pion::net::TCPConnectionPtr& tcp_conn);
00030 };
00031 
00032 }   // end namespace plugins
00033 }   // end namespace pion
00034 
00035 #endif

Generated on Fri Apr 30 14:48:53 2010 for pion-net by  doxygen 1.4.7