pion::plugins::QueryService Class Reference

#include <QueryService.hpp>

Inherits pion::server::PlatformService.

List of all members.


Detailed Description

QueryService: web service that passes query string with UUID to a reactor

Definition at line 34 of file QueryService.hpp.

Public Member Functions

 QueryService (void)
virtual ~QueryService ()
 virtual destructor: this class is meant to be extended
virtual void operator() (pion::net::HTTPRequestPtr &request, pion::net::TCPConnectionPtr &tcp_conn)
 handles requests for QueryService

Classes

class  UnknownQueryException
 exception thrown if the HTTP query is not recognized More...


Member Function Documentation

void pion::plugins::QueryService::operator() ( pion::net::HTTPRequestPtr request,
pion::net::TCPConnectionPtr tcp_conn 
) [virtual]

handles requests for QueryService

attempts to handle a new HTTP request

Parameters:
request the new HTTP request to handle
tcp_conn the TCP connection that has the new request

Implements pion::server::PlatformService.

Definition at line 36 of file QueryService.cpp.

References pion::server::PlatformService::getConfig(), pion::platform::PlatformPlugin::getReactionEngine(), pion::server::PlatformService::handleForbiddenRequest(), pion::server::PlatformService::handleMethodNotAllowed(), pion::server::PlatformService::handleNotFoundRequest(), and pion::server::PlatformService::splitPathBranches().


The documentation for this class was generated from the following files:
Generated on Wed Apr 13 16:38:37 2011 for pion-platform by  doxygen 1.4.7