aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmessage/llsdmessagesystem.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llmessage/llsdmessagesystem.h73
1 files changed, 0 insertions, 73 deletions
diff --git a/linden/indra/llmessage/llsdmessagesystem.h b/linden/indra/llmessage/llsdmessagesystem.h
deleted file mode 100644
index b114a49..0000000
--- a/linden/indra/llmessage/llsdmessagesystem.h
+++ /dev/null
@@ -1,73 +0,0 @@
1/**
2 * @file llsdmessagesystem.h
3 * @brief LLSDMessageSystem class header file
4 *
5 * Copyright (c) 2001-2007, Linden Research, Inc.
6 *
7 * The source code in this file ("Source Code") is provided by Linden Lab
8 * to you under the terms of the GNU General Public License, version 2.0
9 * ("GPL"), unless you have obtained a separate licensing agreement
10 * ("Other License"), formally executed by you and Linden Lab. Terms of
11 * the GPL can be found in doc/GPL-license.txt in this distribution, or
12 * online at http://secondlife.com/developers/opensource/gplv2
13 *
14 * There are special exceptions to the terms and conditions of the GPL as
15 * it is applied to this Source Code. View the full text of the exception
16 * in the file doc/FLOSS-exception.txt in this software distribution, or
17 * online at http://secondlife.com/developers/opensource/flossexception
18 *
19 * By copying, modifying or distributing this software, you acknowledge
20 * that you have read and understood your obligations described above,
21 * and agree to abide by those obligations.
22 *
23 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
24 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
25 * COMPLETENESS OR PERFORMANCE.
26 */
27
28#ifndef LLSD_MESSAGE_SYSTEM_H
29#define LLSD_MESSAGE_SYSTEM_H
30
31#include "message.h"
32#include "llsd.h"
33
34class LLSDMessageSystem : public LLMessageSystem
35{
36public:
37 LLSDMessageSystem(); // Testing only.
38 LLSDMessageSystem(LLMessageSystem& delegateSystem);
39 virtual ~LLSDMessageSystem();
40
41 bool handleMessage(std::string name, const LLSD& message);
42
43 void setInput(const LLSD& input); // Testing only.
44
45 // Input methods, read from input LLSD.
46 virtual void getU32Fast(const char *block, const char *var, U32 &data, S32 blocknum = 0);
47 virtual void getUUIDFast(const char *block, const char *var, LLUUID &uuid, S32 blocknum = 0);
48 virtual void getIPAddrFast(const char *block, const char *var, U32 &ip, S32 blocknum = 0);
49 virtual void getIPPortFast(const char *block, const char *var, U16 &port, S32 blocknum = 0);
50 virtual void getU64Fast(const char *block, const char *var, U64 &data, S32 blocknum = 0);
51 virtual void getStringFast(const char *block, const char *var, S32 buffer_size, char *buffer, S32 blocknum = 0);
52
53 // Output methods, routed to delegate message system.
54 virtual void newMessageFast(const char *name);
55 virtual void nextBlockFast(const char *blockname);
56
57 virtual void addU32Fast(const char *varname, U32 u);
58 virtual void addUUIDFast( const char *varname, const LLUUID& uuid);
59
60 virtual S32 sendReliable(const LLHost &host);
61
62 // Global Information messages, routed to delegate message system
63 virtual U32 getOurCircuitCode();
64
65 static void useServices();
66 // call this from any application, when you set up the http tree
67
68private:
69 LLMessageSystem& mMsg;
70 LLSD mInput;
71};
72
73#endif // LLSD_MESSAGE_SYSTEM_H