ost::XMLRPC(3) | Library Functions Manual | ost::XMLRPC(3) |
ost::XMLRPC - This class impliments a core XMLRPC service without the underlying transports.
#include <xml.h>
Inherits ost::XMLStream.
XMLRPC (size_t bufferSize=512)
Construct XMLRPC workspace. virtual ~XMLRPC ()
Destroy XMLRPC object. void begArray (void)
Create an array. void endArray (void)
end an array. void invoke (const char *method)
Create XMLRPC 'method' call in buffer. void response (bool
fault)
Create XMLRPC 'reply' to a method call. void addParam (bool
value)
Add bool param to XMLRPC request. void addMember (const char
*name, bool value)
Add bool member to a XMLRPC struct. void addParam (long value)
Add an integer paramater to XMLRPC request. void addMember
(const char *name, long value)
Add an integer member to XMLRPC struct. void addParam (const
char *string)
Add a string paramater to XMLRPC request. void addMember (const
char *name, const char *value)
Add a string member to XMLRPC struct. void endStruct (void)
Clear a struct. bool send (const char *resource)
Complete buffer and send well formed XMLRPC request thru post.
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. void begStruct (void)
Start member struct.
This class impliments a core XMLRPC service without the underlying transports.
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.
Author:
Construct XMLRPC workspace.
Parameters:
Destroy XMLRPC object.
Add bool member to a XMLRPC struct.
Parameters:
Add an integer member to XMLRPC struct.
Parameters:
Add a string member to XMLRPC struct.
Parameters:
Add bool param to XMLRPC request.
Parameters:
Add an integer paramater to XMLRPC request.
Parameters:
Add a string paramater to XMLRPC request.
Parameters:
Create an array.
Start member struct.
end an array.
Clear a struct.
Create XMLRPC 'method' call in buffer.
Parameters:
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.
Returns:
Parameters:
Create XMLRPC 'reply' to a method call.
Parameters:
Complete buffer and send well formed XMLRPC request thru post.
Returns:
Parameters:
Generated automatically by Doxygen for GNU CommonC++ from the source code.
Wed Oct 31 2018 | GNU CommonC++ |