ROOT
6.06/09
Reference Guide
ROOT Home Page
Main Page
Related Pages
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
net
http
inc
TFastCgi.h
Go to the documentation of this file.
1
// $Id$
2
// Author: Sergey Linev 28/12/2013
3
4
#ifndef ROOT_TFastCgi
5
#define ROOT_TFastCgi
6
7
#ifndef ROOT_THttpEngine
8
#include "
THttpEngine.h
"
9
#endif
10
11
class
TThread
;
12
13
class
TFastCgi
:
public
THttpEngine
{
14
protected
:
15
Int_t
fSocket
;
//! socket used by fastcgi
16
Bool_t
fDebugMode
;
//! debug mode, may required for fastcgi debugging in other servers
17
TString
fTopName
;
//! name of top item
18
TThread
*
fThrd
;
//! thread which takes requests, can be many later
19
public
:
20
TFastCgi
();
21
virtual
~TFastCgi
();
22
23
Int_t
GetSocket
()
const
24
{
25
return
fSocket
;
26
}
27
28
virtual
Bool_t
Create
(
const
char
*args);
29
30
static
void
*
run_func
(
void
*);
31
32
ClassDef
(
TFastCgi
, 0)
// fastcgi engine for THttpServer
33
};
34
35
36
#endif
TFastCgi::Create
virtual Bool_t Create(const char *args)
initializes fastcgi variables and start thread, which will process incoming http requests ...
Definition:
TFastCgi.cxx:129
TFastCgi::fThrd
TThread * fThrd
name of top item
Definition:
TFastCgi.h:18
TString
Basic string class.
Definition:
TString.h:137
Int_t
int Int_t
Definition:
RtypesCore.h:41
Bool_t
bool Bool_t
Definition:
RtypesCore.h:59
TFastCgi::fSocket
Int_t fSocket
Definition:
TFastCgi.h:15
ClassDef
#define ClassDef(name, id)
Definition:
Rtypes.h:254
TFastCgi::fTopName
TString fTopName
debug mode, may required for fastcgi debugging in other servers
Definition:
TFastCgi.h:17
THttpEngine
Definition:
THttpEngine.h:13
TFastCgi
Definition:
TFastCgi.h:13
TThread
Definition:
TThread.h:49
TFastCgi::fDebugMode
Bool_t fDebugMode
socket used by fastcgi
Definition:
TFastCgi.h:16
TFastCgi::TFastCgi
TFastCgi()
thread which takes requests, can be many later
THttpEngine.h
TFastCgi::GetSocket
Int_t GetSocket() const
Definition:
TFastCgi.h:23
TFastCgi::~TFastCgi
virtual ~TFastCgi()
destructor
Definition:
TFastCgi.cxx:109
TFastCgi::run_func
static void * run_func(void *)
Definition:
TFastCgi.cxx:182