1 #ifndef CGI___FCGIAPP_MT__HPP
2 #define CGI___FCGIAPP_MT__HPP
36 #include <fastcgi++/manager.hpp>
37 #include <fastcgi++/request.hpp>
72 const char*
const*
env(
void)
const {
89 void Set(
const string& name,
const string&
value) {
130 typedef Fastcgipp::Manager<CFastCgiThreadedRequest>
TManager;
Base class for request processors.
BLOB cache read/write/maintenance interface.
std::ofstream out("events_result.xml")
main entry point for tests
void s_ScheduleFastCGIMTExit(void)
unique_ptr< CCgiStatistics > m_Stat
virtual bool x_RunFastCGI(int *result, unsigned int def_iter=10)
Fastcgipp::Request< char > TParent
int ProcessRequest(CCgiContext &context) override
This method is not used by multithreaded FastCGI and should never be called.
Fastcgipp::Manager< CFastCgiThreadedRequest > TManager
unique_ptr< TManager > m_Manager
unsigned int m_WatchTimeout
void Set(const string &name, const string &value)
~CFastCgiThreadedRequest(void)
unique_ptr< CNcbiResource > m_Resource
unique_ptr< CCgiWatchFile > m_Watcher
virtual void FASTCGI_ScheduleExit(void)
Schedule Fast-CGI loop to end as soon as possible, after safely finishing the currently processed req...
void errorHandler(void) override
CAtomicCounter m_ErrorCounter
static CCgiApplication * Instance(void)
Singleton.
bool inProcessor(void) override
const char *const * env(void) const
CFastCgiThreadedRequest(void)
void x_ParseEnv(void) const
shared_ptr< istream > m_InputStream
bool response(void) override
bool IsFastCGI(void) const override
Return TRUE if it is running as a "fast" CGI.
unsigned int m_MaxIterations
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
IO_PREFIX::ostream CNcbiOstream
Portable alias for ostream.
IO_PREFIX::istream CNcbiIstream
Portable alias for istream.
#define NCBI_SBUILDINFO_DEFAULT()
#define NCBI_XFCGI_MT_EXPORT
const GenericPointer< typename T::ValueType > T2 value
This class allows to add build info (date and tag) to application version.
static CS_CONTEXT * context