Made to Order Software Corporation Logo

LLChatLib: LLFilterSD2XMLRPCResponse Class Reference

LLFilterSD2XMLRPCResponse Class Reference

Filter from serialized LLSD to an XMLRPC response. More...

#include <llfiltersd2xmlrpc.h>

Inheritance diagram for LLFilterSD2XMLRPCResponse:
Collaboration diagram for LLFilterSD2XMLRPCResponse:

List of all members.

Public Member Functions

 LLFilterSD2XMLRPCResponse ()

Protected Member Functions

virtual EStatus process_impl (const LLChannelDescriptors &channels, buffer_ptr_t &buffer, bool &eos, LLSD &context, LLPumpIO *pump)
 Process the data in buffer.


Detailed Description

Filter from serialized LLSD to an XMLRPC response.

This class filters a serialized LLSD object to an xmlrpc repsonse. Since resonses are limited to a single param, the xmlrprc response only serializes it as one object. This class correctly handles normal llsd responses as well as llsd rpc faults.

For example, if given: {'response':[ i200, r3.4, {"foo":"bar"} ]} Would generate: <?xml version="1.0"?> <methodResponse><params><array><data>

<int>200</int>

<double>3.4</double>

<struct><member> <name>foo</name>

<string>bar</string>

</member> </struct>

</data></array>

</params></methodResponse>


Constructor & Destructor Documentation

LLFilterSD2XMLRPCResponse::LLFilterSD2XMLRPCResponse (  ) 

The documentation for this class was generated from the following files:
Generated on Thu Sep 23 17:18:40 2010 for LLChatLib by  doxygen 1.6.3