|
| 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 | open (const char *resource) |
| May perform an open operation on behalf of a parsed resource.
|
|
virtual void | close (void) |
| May perform a close operation of an i/o source when the parser has completed operation.
|
|
virtual Slog::Level | getLogging (void) |
| Get error logging level.
|
|
virtual void | comment (const unsigned char *text, size_t len) |
| Virtual to receive embedded comments in an XML document being parsed.
|
|
virtual int | read (unsigned char *buffer, size_t len)=0 |
| Read method to aquire data for the parser.
|
|
virtual void | characters (const unsigned char *text, size_t len)=0 |
| Virtual to receive character text extracted from the document in the current element.
|
|
virtual void | startDocument (void) |
| Identify start of document event.
|
|
virtual void | endDocument (void) |
| Identify end of document event.
|
|
virtual void | startElement (const unsigned char *name, const unsigned char **attr)=0 |
| Identify start of an element in the document.
|
|
virtual void | endElement (const unsigned char *name)=0 |
| Identify end of an element in the document.
|
|
bool | parse (const char *resource=NULL) |
| Parse a resource as a stream thru the virtual read method.
|
|
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
- David Sugar dyfet.nosp@m.@ost.nosp@m.el.co.nosp@m.m
XML-RPC service building class