Loading [MathJax]/jax/input/TeX/config.js
ROOT
6.10/09
Reference Guide
ROOT Home Page
Main Page
Tutorials
User's Classes
+
Namespaces
Namespace List
+
Namespace 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
k
l
m
n
o
p
q
r
s
t
u
v
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
u
w
x
+
Enumerations
a
e
f
g
m
p
t
w
y
+
Enumerator
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
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
/*************************************************************************
5
* Copyright (C) 1995-2013, Rene Brun and Fons Rademakers. *
6
* All rights reserved. *
7
* *
8
* For the licensing terms see $ROOTSYS/LICENSE. *
9
* For the list of contributors see $ROOTSYS/README/CREDITS. *
10
*************************************************************************/
11
12
#ifndef ROOT_TFastCgi
13
#define ROOT_TFastCgi
14
15
#include "
THttpEngine.h
"
16
17
class
TThread
;
18
19
class
TFastCgi
:
public
THttpEngine
{
20
protected
:
21
Int_t
fSocket
;
///<! socket used by fastcgi
22
Bool_t
fDebugMode
;
///<! debug mode, may required for fastcgi debugging in other servers
23
TString
fTopName
;
///<! name of top item
24
TThread
*
fThrd
;
///<! thread which takes requests, can be many later
25
public
:
26
TFastCgi
();
27
virtual
~TFastCgi
();
28
29
Int_t
GetSocket
()
const
{
return
fSocket
; }
30
31
virtual
Bool_t
Create
(
const
char
*args);
32
33
static
void
*
run_func
(
void
*);
34
35
ClassDef
(
TFastCgi
, 0)
// fastcgi engine for THttpServer
36
};
37
38
#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:130
TFastCgi::fThrd
TThread * fThrd
! thread which takes requests, can be many later
Definition:
TFastCgi.h:24
TString
Basic string class.
Definition:
TString.h:129
Int_t
int Int_t
Definition:
RtypesCore.h:41
Bool_t
bool Bool_t
Definition:
RtypesCore.h:59
TFastCgi::fSocket
Int_t fSocket
! socket used by fastcgi
Definition:
TFastCgi.h:21
ClassDef
#define ClassDef(name, id)
Definition:
Rtypes.h:297
TFastCgi::fTopName
TString fTopName
! name of top item
Definition:
TFastCgi.h:23
THttpEngine
Definition:
THttpEngine.h:21
TFastCgi
Definition:
TFastCgi.h:19
TThread
Definition:
TThread.h:37
TFastCgi::fDebugMode
Bool_t fDebugMode
! debug mode, may required for fastcgi debugging in other servers
Definition:
TFastCgi.h:22
TFastCgi::TFastCgi
TFastCgi()
normal constructor
Definition:
TFastCgi.cxx:102
THttpEngine.h
TFastCgi::~TFastCgi
virtual ~TFastCgi()
destructor
Definition:
TFastCgi.cxx:110
TFastCgi::GetSocket
Int_t GetSocket() const
Definition:
TFastCgi.h:29
TFastCgi::run_func
static void * run_func(void *)
Definition:
TFastCgi.cxx:177