Loading [MathJax]/extensions/tex2jax.js
ROOT
6.08/07
Reference Guide
ROOT Home Page
Main Page
Tutorials
User's Classes
+
Namespaces
Namespace List
+
Namespace Members
+
All
2
3
<
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
<
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
2
3
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
u
v
x
+
Enumerations
a
d
e
f
g
h
m
p
t
v
w
y
+
Enumerator
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
u
v
w
+
All Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
y
+
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
w
y
+
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Properties
f
+
Related Functions
:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Files
File List
+
File Members
+
All
1
2
3
4
5
6
7
8
9
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerations
c
e
f
i
l
m
p
r
u
x
+
Enumerator
a
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
v
w
x
y
z
+
Macros
1
2
3
4
5
6
7
8
9
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
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:16
TFastCgi
Definition:
TFastCgi.h:13
TThread
Definition:
TThread.h:47
TFastCgi::fDebugMode
Bool_t fDebugMode
socket used by fastcgi
Definition:
TFastCgi.h:16
TFastCgi::TFastCgi
TFastCgi()
thread which takes requests, can be many later
Definition:
TFastCgi.cxx:97
THttpEngine.h
TFastCgi::~TFastCgi
virtual ~TFastCgi()
destructor
Definition:
TFastCgi.cxx:109
TFastCgi::GetSocket
Int_t GetSocket() const
Definition:
TFastCgi.h:23
TFastCgi::run_func
static void * run_func(void *)
Definition:
TFastCgi.cxx:182