aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Null/NullDataStore.cs
diff options
context:
space:
mode:
authorSean Dague2008-04-03 21:07:03 +0000
committerSean Dague2008-04-03 21:07:03 +0000
commit5e32d86b87478eb90a6fe4d4d9f701f4d102116a (patch)
tree1db49a1c4e537bcc7d097e2b775a8222bc484a6d /OpenSim/Data/Null/NullDataStore.cs
parentremove the old MonoSqlite directory once and for all (diff)
downloadopensim-SC_OLD-5e32d86b87478eb90a6fe4d4d9f701f4d102116a.zip
opensim-SC_OLD-5e32d86b87478eb90a6fe4d4d9f701f4d102116a.tar.gz
opensim-SC_OLD-5e32d86b87478eb90a6fe4d4d9f701f4d102116a.tar.bz2
opensim-SC_OLD-5e32d86b87478eb90a6fe4d4d9f701f4d102116a.tar.xz
move NullStorage => OpenSim.Data.Null to be consistant with
where other data storage assemblies are.
Diffstat (limited to 'OpenSim/Data/Null/NullDataStore.cs')
-rw-r--r--OpenSim/Data/Null/NullDataStore.cs87
1 files changed, 87 insertions, 0 deletions
diff --git a/OpenSim/Data/Null/NullDataStore.cs b/OpenSim/Data/Null/NullDataStore.cs
new file mode 100644
index 0000000..096171c
--- /dev/null
+++ b/OpenSim/Data/Null/NullDataStore.cs
@@ -0,0 +1,87 @@
1/*
2 * Copyright (c) Contributors, http://opensimulator.org/
3 * See CONTRIBUTORS.TXT for a full list of copyright holders.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met:
7 * * Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.
9 * * Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the
11 * documentation and/or other materials provided with the distribution.
12 * * Neither the name of the OpenSim Project nor the
13 * names of its contributors may be used to endorse or promote products
14 * derived from this software without specific prior written permission.
15 *
16 * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY
17 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19 * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
20 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */
27
28using System.Collections.Generic;
29using libsecondlife;
30using OpenSim.Framework;
31using OpenSim.Region.Environment.Interfaces;
32using OpenSim.Region.Environment.Scenes;
33
34namespace OpenSim.Data.Null
35{
36 public class NullDataStore : IRegionDataStore
37 {
38 public void Initialise(string dbfile, bool persistPrimInventories)
39 {
40 return;
41 }
42
43 public void StoreObject(SceneObjectGroup obj, LLUUID regionUUID)
44 {
45 }
46
47 public void RemoveObject(LLUUID obj, LLUUID regionUUID)
48 {
49 }
50
51 // see IRegionDatastore
52 public void StorePrimInventory(LLUUID primID, ICollection<TaskInventoryItem> items)
53 {
54 }
55
56 public List<SceneObjectGroup> LoadObjects(LLUUID regionUUID)
57 {
58 return new List<SceneObjectGroup>();
59 }
60
61 public void StoreTerrain(double[,] ter, LLUUID regionID)
62 {
63 }
64
65 public double[,] LoadTerrain(LLUUID regionID)
66 {
67 return null;
68 }
69
70 public void RemoveLandObject(LLUUID globalID)
71 {
72 }
73
74 public void StoreLandObject(ILandObject land)
75 {
76 }
77
78 public List<LandData> LoadLandObjects(LLUUID regionUUID)
79 {
80 return new List<LandData>();
81 }
82
83 public void Shutdown()
84 {
85 }
86 }
87}