#include <pxmlrpcs.h>
Inheritance diagram for PXMLRPCServerResource:
Public Member Functions | |
PXMLRPCServerResource () | |
PXMLRPCServerResource (const PHTTPAuthority &auth) | |
PXMLRPCServerResource (const PURL &url) | |
PXMLRPCServerResource (const PURL &url, const PHTTPAuthority &auth) | |
PBoolean | LoadHeaders (PHTTPRequest &request) |
PBoolean | OnPOSTData (PHTTPRequest &request, const PStringToString &data) |
virtual void | OnXMLRPCRequest (const PString &body, PString &reply) |
virtual PBoolean | SetMethod (const PString &methodName, const PNotifier &func) |
void | OnXMLRPCRequest (const PString &methodName, PXMLRPCBlock &request, PString &reply) |
virtual PString | FormatFault (PINDEX code, const PString &str) |
Protected Attributes | |
PMutex | methodMutex |
PXMLRPCServerMethodList | methodList |
PXMLRPCServerResource::PXMLRPCServerResource | ( | ) |
PXMLRPCServerResource::PXMLRPCServerResource | ( | const PHTTPAuthority & | auth | ) |
auth | Authorisation for the resource. |
PXMLRPCServerResource::PXMLRPCServerResource | ( | const PURL & | url | ) |
url | Name of the resource in URL space. |
PXMLRPCServerResource::PXMLRPCServerResource | ( | const PURL & | url, | |
const PHTTPAuthority & | auth | |||
) |
url | Name of the resource in URL space. |
auth | Authorisation for the resource. |
PBoolean PXMLRPCServerResource::LoadHeaders | ( | PHTTPRequest & | request | ) | [virtual] |
Get the headers for block of data (eg HTML) that the resource contains. This will fill in all the fields of the outMIME
parameter required by the resource and return the status for the load.
Implements PHTTPResource.
PBoolean PXMLRPCServerResource::OnPOSTData | ( | PHTTPRequest & | request, | |
const PStringToString & | data | |||
) | [virtual] |
Send the data associated with a POST command.
The default action calls Post()#.
Reimplemented from PHTTPResource.
virtual void PXMLRPCServerResource::OnXMLRPCRequest | ( | const PString & | body, | |
PString & | reply | |||
) | [virtual] |
virtual PBoolean PXMLRPCServerResource::SetMethod | ( | const PString & | methodName, | |
const PNotifier & | func | |||
) | [virtual] |
void PXMLRPCServerResource::OnXMLRPCRequest | ( | const PString & | methodName, | |
PXMLRPCBlock & | request, | |||
PString & | reply | |||
) |
PMutex PXMLRPCServerResource::methodMutex [protected] |
PXMLRPCServerMethodList PXMLRPCServerResource::methodList [protected] |