ROOT
6.30.04
Reference Guide
All
Namespaces
Files
Pages
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
Bool_t fTerminating;
///<! set when http server wants to terminate all engines
26
27
virtual
void
Terminate() { fTerminating = kTRUE; }
28
29
public
:
30
TFastCgi();
31
virtual
~TFastCgi();
32
33
Int_t GetSocket()
const
{
return
fSocket; }
34
35
virtual
Bool_t Create(
const
char
*args);
36
37
static
void
*run_func(
void
*);
38
};
39
40
#endif
THttpEngine.h
net
http
src
TFastCgi.h
Generated on Tue May 5 2020 14:03:12 for ROOT by
1.8.5