ROOT
6.10/09
Reference Guide
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