|
pion-net
4.0.9
|
#include <LogService.hpp>
Inherits pion::net::WebService.
Public Member Functions | |
| virtual void | operator() (pion::net::HTTPRequestPtr &request, pion::net::TCPConnectionPtr &tcp_conn) |
| handles a new HTTP request More... | |
| LogServiceAppender & | getLogAppender (void) |
| returns the log appender used by LogService | |
Public Member Functions inherited from pion::net::WebService | |
| WebService (void) | |
| default constructor | |
| virtual | ~WebService () |
| virtual destructor | |
| virtual void | setOption (const std::string &name, const std::string &value) |
| virtual void | start (void) |
| called when the web service's server is starting | |
| virtual void | stop (void) |
| called when the web service's server is stopping | |
| void | setResource (const std::string &str) |
| sets the URI stem or resource that is bound to the web service | |
| const std::string & | getResource (void) const |
| returns the URI stem or resource that is bound to the web service | |
| std::string | getRelativeResource (const std::string &resource_requested) const |
| returns the path to the resource requested, relative to the web service's location | |
LogService: web service that displays log messages
Definition at line 121 of file LogService.hpp.
|
virtual |
handles a new HTTP request
handles requests for LogService
Implements pion::net::WebService.
Definition at line 148 of file LogService.cpp.
1.8.11