LLFilterXMLRPCResponse2LLSD Class Reference

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

#include <llfiltersd2xmlrpc.h>

Inheritance diagram for LLFilterXMLRPCResponse2LLSD:

Inheritance graph
[legend]
Collaboration diagram for LLFilterXMLRPCResponse2LLSD:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLFilterXMLRPCResponse2LLSD ()
virtual ~LLFilterXMLRPCResponse2LLSD ()

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 XMLRPC method response to LLSD.

The xmlrpc spec states that responses can only have one element which can be of any supported type. This takes in xml of the form: <?xml version=\"1.0\"?><methodResponse><params>

<string>ok</string>

</params></methodResponse> And processes it into: 'ok'

Definition at line 193 of file llfiltersd2xmlrpc.h.


Constructor & Destructor Documentation

LLFilterXMLRPCResponse2LLSD::LLFilterXMLRPCResponse2LLSD (  ) 

Definition at line 586 of file llfiltersd2xmlrpc.cpp.

LLFilterXMLRPCResponse2LLSD::~LLFilterXMLRPCResponse2LLSD (  )  [virtual]

Definition at line 590 of file llfiltersd2xmlrpc.cpp.


Member Function Documentation

LLIOPipe::EStatus LLFilterXMLRPCResponse2LLSD::process_impl ( const LLChannelDescriptors channels,
buffer_ptr_t buffer,
bool &  eos,
LLSD context,
LLPumpIO pump 
) [protected, virtual]

Process the data in buffer.

Definition at line 594 of file llfiltersd2xmlrpc.cpp.

References DEFAULT_PRECISION, LLSDNotationFormatter::escapeString(), LLChannelDescriptors::in(), llendl, LLSDRPC_FAULT_FOOTER, LLSDRPC_FAULT_HADER_1, LLSDRPC_FAULT_HADER_2, LLSDRPC_RESPONSE_FOOTER, LLSDRPC_RESPONSE_HEADER, llwarns, NULL, param, PUMP_DEBUG, S32, LLIOPipe::STATUS_BREAK, LLIOPipe::STATUS_DONE, LLIOPipe::STATUS_ERROR, and stream_out().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:16 2010 for Second Life Viewer by  doxygen 1.4.7