#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, PXML::Options options=PXML::NoOptions) |
void | SetTimeout (const PTimeInterval &t) |
PBoolean | MakeRequest (const PString &method) |
PBoolean | MakeRequest (const PString &method, PXMLRPCBlock &response) |
PBoolean | MakeRequest (PXMLRPCBlock &request, PXMLRPCBlock &response) |
PBoolean | MakeRequest (const PString &method, const PXMLRPCStructBase &args, PXMLRPCStructBase &reply) |
PString | GetFaultText () const |
PINDEX | GetFaultCode () const |
Static Public Member Functions |
static PBoolean | ISO8601ToPTime (const PString &iso8601, PTime &val, int tz=PTime::GMT) |
static PString | PTimeToISO8601 (const PTime &val) |
Protected Member Functions |
PBoolean | PerformRequest (PXMLRPCBlock &request, PXMLRPCBlock &response) |
Protected Attributes |
PURL | url |
PINDEX | faultCode |
PString | faultText |
PTimeInterval | timeout |
PXML::Options | m_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
Member Function Documentation
Member Data Documentation
The documentation for this class was generated from the following file: