#include <httpsvc.h>
PHTTPServiceProcess::PHTTPServiceProcess | ( | const Info & | inf | ) |
PHTTPServiceProcess::~PHTTPServiceProcess | ( | ) |
BOOL 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.
BOOL 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.
void PHTTPServiceProcess::OnContinue | ( | ) | [virtual] |
Resume after the service was paused.
Reimplemented from PServiceProcess.
const char* PHTTPServiceProcess::GetServiceDependencies | ( | ) | const |
virtual void PHTTPServiceProcess::OnConfigChanged | ( | ) | [pure virtual] |
virtual BOOL PHTTPServiceProcess::Initialise | ( | const char * | initMsg | ) | [pure virtual] |
BOOL PHTTPServiceProcess::ListenForHTTP | ( | WORD | port, | |
PSocket::Reusability | reuse = PSocket::CanReuseAddress , |
|||
PINDEX | stackSize = 0x4000 | |||
) |
BOOL PHTTPServiceProcess::ListenForHTTP | ( | PSocket * | listener, | |
PSocket::Reusability | reuse = PSocket::CanReuseAddress , |
|||
PINDEX | stackSize = 0x4000 | |||
) |
virtual PString PHTTPServiceProcess::GetPageGraphic | ( | ) | [virtual] |
void PHTTPServiceProcess::GetPageHeader | ( | PHTML & | ) |
virtual PString PHTTPServiceProcess::GetCopyrightText | ( | ) | [virtual] |
const PString& PHTTPServiceProcess::GetMacroKeyword | ( | ) | const [inline] |
References macroKeyword.
const PTime& PHTTPServiceProcess::GetCompilationDate | ( | ) | const [inline] |
References compilationDate.
const PString& PHTTPServiceProcess::GetHomePage | ( | ) | const [inline] |
References manufacturersHomePage.
const PString& PHTTPServiceProcess::GetEMailAddress | ( | ) | const [inline] |
References manufacturersEmail.
const PString& PHTTPServiceProcess::GetProductName | ( | ) | const [inline] |
References productNameHTML.
const PTEACypher::Key& PHTTPServiceProcess::GetProductKey | ( | ) | const [inline] |
References productKey.
const PStringArray& PHTTPServiceProcess::GetSecuredKeys | ( | ) | const [inline] |
References securedKeys.
const PTEACypher::Key& PHTTPServiceProcess::GetSignatureKey | ( | ) | const [inline] |
References signatureKey.
BOOL PHTTPServiceProcess::ShouldIgnoreSignatures | ( | ) | const [inline] |
References ignoreSignatures.
void PHTTPServiceProcess::SetIgnoreSignatures | ( | BOOL | ig | ) | [inline] |
References ignoreSignatures.
static PHTTPServiceProcess& PHTTPServiceProcess::Current | ( | ) | [static] |
Get the current service process object.
Reimplemented from PServiceProcess.
virtual void PHTTPServiceProcess::AddRegisteredText | ( | PHTML & | html | ) | [virtual] |
virtual void PHTTPServiceProcess::AddUnregisteredText | ( | PHTML & | html | ) | [virtual] |
virtual BOOL PHTTPServiceProcess::SubstituteEquivalSequence | ( | PHTTPRequest & | request, | |
const PString & | , | |||
PString & | ||||
) | [virtual] |
virtual PHTTPServer* PHTTPServiceProcess::CreateHTTPServer | ( | PTCPSocket & | socket | ) | [virtual] |
Reimplemented in PSecureHTTPServiceProcess.
virtual PHTTPServer* PHTTPServiceProcess::OnCreateHTTPServer | ( | const PHTTPSpace & | urlSpace | ) | [virtual] |
PTCPSocket* PHTTPServiceProcess::AcceptHTTP | ( | ) |
BOOL PHTTPServiceProcess::ProcessHTTP | ( | PTCPSocket & | socket | ) |
void PHTTPServiceProcess::ShutdownListener | ( | ) | [protected] |
void PHTTPServiceProcess::BeginRestartSystem | ( | ) | [protected] |
void PHTTPServiceProcess::CompleteRestartSystem | ( | ) | [protected] |
PHTTPServiceProcess::PLIST | ( | ThreadList | , | |
PHTTPServiceThread | ||||
) | [protected] |
friend class PConfigPage [friend] |
friend class PConfigSectionsPage [friend] |
friend class PHTTPServiceThread [friend] |
PSocket* PHTTPServiceProcess::httpListeningSocket [protected] |
PHTTPSpace PHTTPServiceProcess::httpNameSpace [protected] |
PString PHTTPServiceProcess::macroKeyword [protected] |
Referenced by GetMacroKeyword().
PTEACypher::Key PHTTPServiceProcess::productKey [protected] |
Referenced by GetProductKey().
PStringArray PHTTPServiceProcess::securedKeys [protected] |
Referenced by GetSecuredKeys().
PTEACypher::Key PHTTPServiceProcess::signatureKey [protected] |
Referenced by GetSignatureKey().
BOOL PHTTPServiceProcess::ignoreSignatures [protected] |
Referenced by SetIgnoreSignatures(), and ShouldIgnoreSignatures().
PTime PHTTPServiceProcess::compilationDate [protected] |
Referenced by GetCompilationDate().
PString PHTTPServiceProcess::manufacturersHomePage [protected] |
Referenced by GetHomePage().
PString PHTTPServiceProcess::manufacturersEmail [protected] |
Referenced by GetEMailAddress().
PString PHTTPServiceProcess::productNameHTML [protected] |
Referenced by GetProductName().
PString PHTTPServiceProcess::gifHTML [protected] |
PString PHTTPServiceProcess::copyrightHolder [protected] |
PString PHTTPServiceProcess::copyrightHomePage [protected] |
PString PHTTPServiceProcess::copyrightEmail [protected] |
PThread* PHTTPServiceProcess::restartThread [protected] |
ThreadList PHTTPServiceProcess::httpThreads [protected] |
PMutex PHTTPServiceProcess::httpThreadsMutex [protected] |