|
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 |