ROOT  6.06/09
Reference Guide
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
virtual Bool_t Create(const char *args)
initializes fastcgi variables and start thread, which will process incoming http requests ...
Definition: TFastCgi.cxx:129
TThread * fThrd
name of top item
Definition: TFastCgi.h:18
Basic string class.
Definition: TString.h:137
int Int_t
Definition: RtypesCore.h:41
bool Bool_t
Definition: RtypesCore.h:59
Int_t fSocket
Definition: TFastCgi.h:15
#define ClassDef(name, id)
Definition: Rtypes.h:254
TString fTopName
debug mode, may required for fastcgi debugging in other servers
Definition: TFastCgi.h:17
Bool_t fDebugMode
socket used by fastcgi
Definition: TFastCgi.h:16
TFastCgi()
thread which takes requests, can be many later
Int_t GetSocket() const
Definition: TFastCgi.h:23
virtual ~TFastCgi()
destructor
Definition: TFastCgi.cxx:109
static void * run_func(void *)
Definition: TFastCgi.cxx:182