libtasks Documentation  1.6
thrift_server/uwsgi_handler.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2013-2014 ADTECH GmbH
3  * Licensed under MIT (https://github.com/adtechlabs/libtasks/blob/master/COPYING)
4  *
5  * Author: Andreas Pohl
6  */
7 
8 #ifndef _UWSGI_HANDLER_H_
9 #define _UWSGI_HANDLER_H_
10 
11 #include <boost/shared_ptr.hpp>
12 #include <memory>
13 
14 #include <tasks/net/uwsgi_task.h>
15 
16 #include "stats.h"
17 #include "test_service.h"
18 
20  public:
22 
24 
25  bool handle_request();
26 };
27 
28 #endif // _UWSGI_HANDLER_H_
static void inc_clients()
Definition: echoserver.h:27
uwsgi_task(net::socket &sock)
Definition: uwsgi_task.h:32
The socket class.
Definition: socket.h:35
The base class for the uwsgi protocol implementation.
Definition: uwsgi_task.h:30
uwsgi_handler(tasks::net::socket &s)
static void dec_clients()
Definition: echoserver.h:29