diff options
Diffstat (limited to 'indra/llmessage/llfiltersd2xmlrpc.h')
-rw-r--r-- | indra/llmessage/llfiltersd2xmlrpc.h | 186 |
1 files changed, 93 insertions, 93 deletions
diff --git a/indra/llmessage/llfiltersd2xmlrpc.h b/indra/llmessage/llfiltersd2xmlrpc.h index 0c9a0dc95b..55938d3e2b 100644 --- a/indra/llmessage/llfiltersd2xmlrpc.h +++ b/indra/llmessage/llfiltersd2xmlrpc.h @@ -1,4 +1,4 @@ -/** +/** * @file llfiltersd2xmlrpc.h * @author Phoenix * @date 2005-04-26 @@ -6,21 +6,21 @@ * $LicenseInfo:firstyear=2005&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2010, Linden Research, Inc. - * + * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; * version 2.1 of the License only. - * + * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. - * + * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * + * * Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA * $/LicenseInfo$ */ @@ -38,9 +38,9 @@ #include <iosfwd> #include "lliopipe.h" -/** +/** * @class LLFilterSD2XMLRPC - * @brief Filter from serialized LLSD to an XMLRPC method call + * @brief Filter from serialized LLSD to an XMLRPC method call * * This clas provides common functionality for the LLFilterSD2XMLRPRC * request and response classes. @@ -48,19 +48,19 @@ class LLFilterSD2XMLRPC : public LLIOPipe { public: - LLFilterSD2XMLRPC(); - virtual ~LLFilterSD2XMLRPC(); + LLFilterSD2XMLRPC(); + virtual ~LLFilterSD2XMLRPC(); protected: - /** - * @brief helper method - */ - void streamOut(std::ostream& ostr, const LLSD& sd); + /** + * @brief helper method + */ + void streamOut(std::ostream& ostr, const LLSD& sd); }; -/** +/** * @class LLFilterSD2XMLRPCResponse - * @brief Filter from serialized LLSD to an XMLRPC response + * @brief 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 @@ -85,31 +85,31 @@ protected: class LLFilterSD2XMLRPCResponse : public LLFilterSD2XMLRPC { public: - // constructor - LLFilterSD2XMLRPCResponse(); + // constructor + LLFilterSD2XMLRPCResponse(); - // destructor - virtual ~LLFilterSD2XMLRPCResponse(); + // destructor + virtual ~LLFilterSD2XMLRPCResponse(); - /* @name LLIOPipe virtual implementations - */ - //@{ + /* @name LLIOPipe virtual implementations + */ + //@{ protected: - /** - * @brief Process the data in buffer. - */ - virtual EStatus process_impl( - const LLChannelDescriptors& channels, - buffer_ptr_t& buffer, - bool& eos, - LLSD& context, - LLPumpIO* pump); - //@} + /** + * @brief Process the data in buffer. + */ + virtual EStatus process_impl( + const LLChannelDescriptors& channels, + buffer_ptr_t& buffer, + bool& eos, + LLSD& context, + LLPumpIO* pump); + //@} }; -/** +/** * @class LLFilterSD2XMLRPCRequest - * @brief Filter from serialized LLSD to an XMLRPC method call + * @brief Filter from serialized LLSD to an XMLRPC method call * * This class will accept any kind of serialized LLSD object, but you * probably want to have an array on the outer boundary since this @@ -141,38 +141,38 @@ protected: class LLFilterSD2XMLRPCRequest : public LLFilterSD2XMLRPC { public: - // constructor - LLFilterSD2XMLRPCRequest(); + // constructor + LLFilterSD2XMLRPCRequest(); - // constructor - LLFilterSD2XMLRPCRequest(const char* method); + // constructor + LLFilterSD2XMLRPCRequest(const char* method); - // destructor - virtual ~LLFilterSD2XMLRPCRequest(); + // destructor + virtual ~LLFilterSD2XMLRPCRequest(); - /* @name LLIOPipe virtual implementations - */ - //@{ + /* @name LLIOPipe virtual implementations + */ + //@{ protected: - /** - * @brief Process the data in buffer. - */ - virtual EStatus process_impl( - const LLChannelDescriptors& channels, - buffer_ptr_t& buffer, - bool& eos, - LLSD& context, - LLPumpIO* pump); - //@} + /** + * @brief Process the data in buffer. + */ + virtual EStatus process_impl( + const LLChannelDescriptors& channels, + buffer_ptr_t& buffer, + bool& eos, + LLSD& context, + LLPumpIO* pump); + //@} protected: - // The method name of this request. - std::string mMethod; + // The method name of this request. + std::string mMethod; }; -/** +/** * @class LLFilterXMLRPCResponse2LLSD - * @brief Filter from serialized XMLRPC method response to LLSD + * @brief 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. @@ -188,33 +188,33 @@ protected: class LLFilterXMLRPCResponse2LLSD : public LLIOPipe { public: - // constructor - LLFilterXMLRPCResponse2LLSD(); + // constructor + LLFilterXMLRPCResponse2LLSD(); - // destructor - virtual ~LLFilterXMLRPCResponse2LLSD(); + // destructor + virtual ~LLFilterXMLRPCResponse2LLSD(); - /* @name LLIOPipe virtual implementations - */ - //@{ + /* @name LLIOPipe virtual implementations + */ + //@{ protected: - /** - * @brief Process the data in buffer. - */ - virtual EStatus process_impl( - const LLChannelDescriptors& channels, - buffer_ptr_t& buffer, - bool& eos, - LLSD& context, - LLPumpIO* pump); - //@} + /** + * @brief Process the data in buffer. + */ + virtual EStatus process_impl( + const LLChannelDescriptors& channels, + buffer_ptr_t& buffer, + bool& eos, + LLSD& context, + LLPumpIO* pump); + //@} protected: }; -/** +/** * @class LLFilterXMLRPCRequest2LLSD - * @brief Filter from serialized XMLRPC method call to LLSD + * @brief Filter from serialized XMLRPC method call to LLSD * * This takes in xml of the form: * <code> @@ -231,26 +231,26 @@ protected: class LLFilterXMLRPCRequest2LLSD : public LLIOPipe { public: - // constructor - LLFilterXMLRPCRequest2LLSD(); + // constructor + LLFilterXMLRPCRequest2LLSD(); - // destructor - virtual ~LLFilterXMLRPCRequest2LLSD(); + // destructor + virtual ~LLFilterXMLRPCRequest2LLSD(); - /* @name LLIOPipe virtual implementations - */ - //@{ + /* @name LLIOPipe virtual implementations + */ + //@{ protected: - /** - * @brief Process the data in buffer. - */ - virtual EStatus process_impl( - const LLChannelDescriptors& channels, - buffer_ptr_t& buffer, - bool& eos, - LLSD& context, - LLPumpIO* pump); - //@} + /** + * @brief Process the data in buffer. + */ + virtual EStatus process_impl( + const LLChannelDescriptors& channels, + buffer_ptr_t& buffer, + bool& eos, + LLSD& context, + LLPumpIO* pump); + //@} protected: }; |