llsdrpcserver.cpp File Reference

Implementation of the LLSDRPCServer and related classes. More...

#include "linden_common.h"
#include "llsdrpcserver.h"
#include "llbuffer.h"
#include "llbufferstream.h"
#include "llmemtype.h"
#include "llpumpio.h"
#include "llsdserialize.h"
#include "llstl.h"

Include dependency graph for llsdrpcserver.cpp:

Go to the source code of this file.

Functions

static const std::string LLSDRPC_METHOD_SD_NAME ("method")
static const std::string LLSDRPC_PARAMETER_SD_NAME ("parameter")

Variables

static const char FAULT_PART_1 [] = "{'fault':{'code':i"
static const char FAULT_PART_2 [] = ", 'description':'"
static const char FAULT_PART_3 [] = "'}}"
static const char RESPONSE_PART_1 [] = "{'response':"
static const char RESPONSE_PART_2 [] = "}"
static const S32 FAULT_GENERIC = 1000
static const S32 FAULT_METHOD_NOT_FOUND = 1001


Detailed Description

Implementation of the LLSDRPCServer and related classes.

Author:
Phoenix
Date:
2005-10-11
LicenseInfo
firstyear=2005&license=viewergpl

Copyright (c) 2005-2007, Linden Research, Inc.

Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlife.com/developers/opensource/gplv2

There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlife.com/developers/opensource/flossexception

By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file llsdrpcserver.cpp.


Function Documentation

static const std::string LLSDRPC_METHOD_SD_NAME ( "method"   )  [static]

Referenced by LLSDRPCServer::process_impl().

static const std::string LLSDRPC_PARAMETER_SD_NAME ( "parameter"   )  [static]

Referenced by LLSDRPCServer::process_impl().


Variable Documentation

const S32 FAULT_GENERIC = 1000 [static]

Definition at line 51 of file llsdrpcserver.cpp.

Referenced by LLSDRPCServer::process_impl().

const S32 FAULT_METHOD_NOT_FOUND = 1001 [static]

Definition at line 52 of file llsdrpcserver.cpp.

Referenced by LLSDRPCServer::callbackMethod(), and LLSDRPCServer::callMethod().

const char FAULT_PART_1[] = "{'fault':{'code':i" [static]

Definition at line 44 of file llsdrpcserver.cpp.

Referenced by LLSDRPCServer::buildFault().

const char FAULT_PART_2[] = ", 'description':'" [static]

Definition at line 45 of file llsdrpcserver.cpp.

Referenced by LLSDRPCServer::buildFault().

const char FAULT_PART_3[] = "'}}" [static]

Definition at line 46 of file llsdrpcserver.cpp.

Referenced by LLSDRPCServer::buildFault().

const char RESPONSE_PART_1[] = "{'response':" [static]

Definition at line 48 of file llsdrpcserver.cpp.

Referenced by LLSDRPCServer::buildResponse().

const char RESPONSE_PART_2[] = "}" [static]

Definition at line 49 of file llsdrpcserver.cpp.

Referenced by LLSDRPCServer::buildResponse().


Generated on Thu Jul 1 06:10:39 2010 for Second Life Viewer by  doxygen 1.4.7