PTLib
Version 2.10.4
|
#include <httpsvc.h>
PHTTPServiceProcess::PHTTPServiceProcess | ( | const Info & | inf | ) |
virtual void PHTTPServiceProcess::AddRegisteredText | ( | PHTML & | html | ) | [virtual] |
virtual void PHTTPServiceProcess::AddUnregisteredText | ( | PHTML & | html | ) | [virtual] |
void PHTTPServiceProcess::BeginRestartSystem | ( | ) | [protected] |
void PHTTPServiceProcess::CompleteRestartSystem | ( | ) | [protected] |
virtual PHTTPServer* PHTTPServiceProcess::CreateHTTPServer | ( | PTCPSocket & | socket | ) | [virtual] |
Reimplemented in PSecureHTTPServiceProcess.
static PHTTPServiceProcess& PHTTPServiceProcess::Current | ( | ) | [static] |
Get the current service process object.
Reimplemented from PServiceProcess.
const PTime& PHTTPServiceProcess::GetCompilationDate | ( | ) | const [inline] |
References compilationDate.
virtual PString PHTTPServiceProcess::GetCopyrightText | ( | ) | [virtual] |
const PString& PHTTPServiceProcess::GetEMailAddress | ( | ) | const [inline] |
References manufacturersEmail.
const PString& PHTTPServiceProcess::GetHomePage | ( | ) | const [inline] |
References manufacturersHomePage.
const PString& PHTTPServiceProcess::GetMacroKeyword | ( | ) | const [inline] |
References macroKeyword.
virtual PString PHTTPServiceProcess::GetPageGraphic | ( | ) | [virtual] |
void PHTTPServiceProcess::GetPageHeader | ( | PHTML & | ) |
void PHTTPServiceProcess::GetPageHeader | ( | PHTML & | , |
const PString & | title | ||
) |
const PTEACypher::Key& PHTTPServiceProcess::GetProductKey | ( | ) | const [inline] |
References productKey.
const PString& PHTTPServiceProcess::GetProductName | ( | ) | const [inline] |
References productNameHTML.
const PStringArray& PHTTPServiceProcess::GetSecuredKeys | ( | ) | const [inline] |
References securedKeys.
const char* PHTTPServiceProcess::GetServiceDependencies | ( | ) | const |
const PTEACypher::Key& PHTTPServiceProcess::GetSignatureKey | ( | ) | const [inline] |
References signatureKey.
virtual PBoolean PHTTPServiceProcess::Initialise | ( | const char * | initMsg | ) | [pure virtual] |
PBoolean PHTTPServiceProcess::ListenForHTTP | ( | WORD | port, |
PSocket::Reusability | reuse = PSocket::CanReuseAddress , |
||
PINDEX | stackSize = 0x4000 |
||
) |
PBoolean PHTTPServiceProcess::ListenForHTTP | ( | PSocket * | listener, |
PSocket::Reusability | reuse = PSocket::CanReuseAddress , |
||
PINDEX | stackSize = 0x4000 |
||
) |
virtual void PHTTPServiceProcess::OnConfigChanged | ( | ) | [pure virtual] |
void PHTTPServiceProcess::OnContinue | ( | ) | [virtual] |
Resume after the service was paused.
Reimplemented from PServiceProcess.
virtual PHTTPServer* PHTTPServiceProcess::OnCreateHTTPServer | ( | const PHTTPSpace & | urlSpace | ) | [virtual] |
PBoolean PHTTPServiceProcess::OnPause | ( | ) | [virtual] |
Called by the system when the service is to be paused.
This will suspend any actions that the service may be executing. Usually this is less expensive in resource allocation etc than stopping and starting the service.
Reimplemented from PServiceProcess.
PBoolean PHTTPServiceProcess::OnStart | ( | ) | [virtual] |
Called when the service is started.
This typically initialises the service and returns true if the service is ready to run. The Main()
function is then executed.
Implements PServiceProcess.
void PHTTPServiceProcess::OnStop | ( | ) | [virtual] |
Called by the system when the service is stopped.
One return from this function there is no guarentee that any more user code will be executed. Any cleaning up or closing of resource must be done in here.
Reimplemented from PServiceProcess.
PHTTPServiceProcess::PLIST | ( | ThreadList | , |
PHTTPServiceThread | |||
) | [protected] |
PBoolean PHTTPServiceProcess::ProcessHTTP | ( | PTCPSocket & | socket | ) |
void PHTTPServiceProcess::SetIgnoreSignatures | ( | PBoolean | ig | ) | [inline] |
References ignoreSignatures.
PBoolean PHTTPServiceProcess::ShouldIgnoreSignatures | ( | ) | const [inline] |
References ignoreSignatures.
void PHTTPServiceProcess::ShutdownListener | ( | ) | [protected] |
virtual PBoolean PHTTPServiceProcess::SubstituteEquivalSequence | ( | PHTTPRequest & | request, |
const PString & | , | ||
PString & | |||
) | [virtual] |
PTime PHTTPServiceProcess::compilationDate [protected] |
Referenced by GetCompilationDate().
PString PHTTPServiceProcess::copyrightEmail [protected] |
PString PHTTPServiceProcess::copyrightHolder [protected] |
PString PHTTPServiceProcess::copyrightHomePage [protected] |
PString PHTTPServiceProcess::gifHTML [protected] |
PSocket* PHTTPServiceProcess::httpListeningSocket [protected] |
PHTTPSpace PHTTPServiceProcess::httpNameSpace [protected] |
ThreadList PHTTPServiceProcess::httpThreads [protected] |
PMutex PHTTPServiceProcess::httpThreadsMutex [protected] |
PBoolean PHTTPServiceProcess::ignoreSignatures [protected] |
Referenced by SetIgnoreSignatures(), and ShouldIgnoreSignatures().
PString PHTTPServiceProcess::macroKeyword [protected] |
Referenced by GetMacroKeyword().
PString PHTTPServiceProcess::manufacturersEmail [protected] |
Referenced by GetEMailAddress().
PString PHTTPServiceProcess::manufacturersHomePage [protected] |
Referenced by GetHomePage().
PTEACypher::Key PHTTPServiceProcess::productKey [protected] |
Referenced by GetProductKey().
PString PHTTPServiceProcess::productNameHTML [protected] |
Referenced by GetProductName().
PThread* PHTTPServiceProcess::restartThread [protected] |
PStringArray PHTTPServiceProcess::securedKeys [protected] |
Referenced by GetSecuredKeys().
PTEACypher::Key PHTTPServiceProcess::signatureKey [protected] |
Referenced by GetSignatureKey().