#include <xml.h>
Inheritance diagram for ost::XMLRPC::
Public Methods | |
XMLRPC (size_t bufsize) | |
Construct XMLRPC workspace. More... | |
virtual | ~XMLRPC () |
Destroy XMLRPC object. More... | |
void | begArray (void) |
Create an array. More... | |
void | endArray (void) |
end an array. More... | |
void | Invoke (const char *method) |
Create XMLRPC "method" call in buffer. More... | |
void | Response (bool fault) |
Create XMLRPC "reply" to a method call. More... | |
void | addParam (bool value) |
Add bool param to XMLRPC request. More... | |
void | addMember (const char *name, bool value) |
Add bool member to a XMLRPC struct. More... | |
void | addParam (long value) |
Add an integer paramater to XMLRPC request. More... | |
void | addMember (const char *name, long value) |
Add an integer member to XMLRPC struct. More... | |
void | addParam (const char *string) |
Add a string paramater to XMLRPC request. More... | |
void | addMember (const char *name, const char *value) |
Add a string member to XMLRPC struct. More... | |
void | endStruct (void) |
Clear a struct. More... | |
bool | Send (const char *resource) |
Complete buffer and send well formed XMLRPC request thru post. More... | |
Protected Methods | |
virtual bool | Post (const char *resource, const char *msg)=0 |
Used in a derived transport class to deliver the XMLRPC encoded request and return true if successful. More... | |
void | begStruct (void) |
Start member struct. More... |
It is meant to create and parse XMLRPC messages. To use for a fit purpose, one might combine it with URLStream, although this implimentation makes no requirement for http based transport.
|
Construct XMLRPC workspace.
|
|
Destroy XMLRPC object.
|
|
Create XMLRPC "method" call in buffer.
|
|
Used in a derived transport class to deliver the XMLRPC encoded request and return true if successful. The Parse method can then be used to decode the reply.
|
|
Create XMLRPC "reply" to a method call.
|
|
Complete buffer and send well formed XMLRPC request thru post.
|
|
Add a string member to XMLRPC struct.
|
|
Add an integer member to XMLRPC struct.
|
|
Add bool member to a XMLRPC struct.
|
|
Add a string paramater to XMLRPC request.
|
|
Add an integer paramater to XMLRPC request.
|
|
Add bool param to XMLRPC request.
|
|
Create an array.
|
|
Start member struct.
|
|
end an array.
|
|
Clear a struct.
|