- Main Page
- Classes
- Files

- File List

# services/EchoService.hpp

    00001 // ---------------------------------------------------------------------
    00002 // pion:  a Boost C++ framework for building lightweight HTTP interfaces
    00003 // ---------------------------------------------------------------------
    00004 // Copyright (C) 2007-2012 Cloudmeter, Inc.  (http://www.cloudmeter.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_ECHOSERVICE_HEADER__
    00011 #define __PION_ECHOSERVICE_HEADER__
    00012
    00013 #include <pion/http/plugin_service.hpp>
    00014
    00015
    00016 namespace pion {        // begin namespace pion
    00017 namespace plugins {     // begin namespace plugins
    00018
    00022 class EchoService :
    00023     public pion::http::plugin_service
    00024 {
    00025 public:
    00026     EchoService(void) {}
    00027     virtual ~EchoService() {}
    00028     virtual void operator()(pion::http::request_ptr& http_request_ptr,
    00029                             pion::tcp::connection_ptr& tcp_conn);
    00030 };
    00031
    00032 }   // end namespace plugins
    00033 }   // end namespace pion
    00034
    00035 #endif