PXMLRPC Class Reference
#include <pxmlrpc.h>
List of all members.
Public Types |
enum | {
CannotCreateRequestXML = 100,
CannotParseResponseXML,
CannotParseRequestXML,
HTTPPostFailed,
CannotReadResponseContentBody,
ResponseRootNotMethodResponse,
ResponseEmpty,
ResponseUnknownFormat,
ParamNotValue,
ScalarWithoutElement,
ParamNotStruct,
MemberIncomplete,
MemberUnnamed,
FaultyFault,
RequestHasWrongDocumentType,
RequestHasNoMethodName,
RequestHasNoParms,
MethodNameIsEmpty,
UnknownMethod,
ParamNotArray,
UserFault = 1000
} |
Public Member Functions |
| PXMLRPC (const PURL &url, unsigned options=0) |
void | SetTimeout (const PTimeInterval &_timeout) |
BOOL | MakeRequest (const PString &method) |
BOOL | MakeRequest (const PString &method, PXMLRPCBlock &response) |
BOOL | MakeRequest (PXMLRPCBlock &request, PXMLRPCBlock &response) |
BOOL | MakeRequest (const PString &method, const PXMLRPCStructBase &args, PXMLRPCStructBase &reply) |
PString | GetFaultText () const |
PINDEX | GetFaultCode () const |
Static Public Member Functions |
static BOOL | ISO8601ToPTime (const PString &iso8601, PTime &val, int tz=PTime::GMT) |
static PString | PTimeToISO8601 (const PTime &val) |
Protected Member Functions |
BOOL | PerformRequest (PXMLRPCBlock &request, PXMLRPCBlock &response) |
Protected Attributes |
PURL | url |
PINDEX | faultCode |
PString | faultText |
PTimeInterval | timeout |
unsigned | options |
Member Enumeration Documentation
- Enumerator:
CannotCreateRequestXML |
|
CannotParseResponseXML |
|
CannotParseRequestXML |
|
HTTPPostFailed |
|
CannotReadResponseContentBody |
|
ResponseRootNotMethodResponse |
|
ResponseEmpty |
|
ResponseUnknownFormat |
|
ParamNotValue |
|
ScalarWithoutElement |
|
ParamNotStruct |
|
MemberIncomplete |
|
MemberUnnamed |
|
FaultyFault |
|
RequestHasWrongDocumentType |
|
RequestHasNoMethodName |
|
RequestHasNoParms |
|
MethodNameIsEmpty |
|
UnknownMethod |
|
ParamNotArray |
|
UserFault |
|
Constructor & Destructor Documentation
PXMLRPC::PXMLRPC |
( |
const PURL & |
url, |
|
|
unsigned |
options = 0 | |
|
) |
| | |
Member Function Documentation
PINDEX PXMLRPC::GetFaultCode |
( |
|
) |
const [inline] |
PString PXMLRPC::GetFaultText |
( |
|
) |
const [inline] |
static BOOL PXMLRPC::ISO8601ToPTime |
( |
const PString & |
iso8601, |
|
|
PTime & |
val, |
|
|
int |
tz = PTime::GMT | |
|
) |
| | [static] |
BOOL PXMLRPC::MakeRequest |
( |
const PString & |
method |
) |
|
static PString PXMLRPC::PTimeToISO8601 |
( |
const PTime & |
val |
) |
[static] |
void PXMLRPC::SetTimeout |
( |
const PTimeInterval & |
_timeout |
) |
[inline] |
Member Data Documentation
The documentation for this class was generated from the following file: