aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Storage
diff options
context:
space:
mode:
authorAdam Frisby2007-07-15 14:58:23 +0000
committerAdam Frisby2007-07-15 14:58:23 +0000
commit275d8c024739f69ec2fce59cffc2f8e19dffc5f0 (patch)
treee67204e9cce1d53c5eabad3c37ac9311ec65acfe /OpenSim/Region/Storage
parent* Fixed bug where UserServer SendKey would not be saved in configuration. (diff)
downloadopensim-SC_OLD-275d8c024739f69ec2fce59cffc2f8e19dffc5f0.zip
opensim-SC_OLD-275d8c024739f69ec2fce59cffc2f8e19dffc5f0.tar.gz
opensim-SC_OLD-275d8c024739f69ec2fce59cffc2f8e19dffc5f0.tar.bz2
opensim-SC_OLD-275d8c024739f69ec2fce59cffc2f8e19dffc5f0.tar.xz
* Adding example "NullStorage" DataStore engine.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Storage/OpenSim.DataStore.NullStorage/NullDataStore.cs65
-rw-r--r--OpenSim/Region/Storage/OpenSim.DataStore.NullStorage/Properties/AssemblyInfo.cs35
2 files changed, 100 insertions, 0 deletions
diff --git a/OpenSim/Region/Storage/OpenSim.DataStore.NullStorage/NullDataStore.cs b/OpenSim/Region/Storage/OpenSim.DataStore.NullStorage/NullDataStore.cs
new file mode 100644
index 0000000..b67ba93
--- /dev/null
+++ b/OpenSim/Region/Storage/OpenSim.DataStore.NullStorage/NullDataStore.cs
@@ -0,0 +1,65 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4
5using OpenSim.Region.Environment.Scenes;
6using OpenSim.Region.Environment;
7using OpenSim.Region.Interfaces;
8using OpenSim.Framework.Console;
9using libsecondlife;
10
11namespace OpenSim.DataStore.NullStorage
12{
13 class NullDataStore : IRegionDataStore
14 {
15 public void Initialise(string dbfile, string dbname)
16 {
17 return;
18 }
19
20 public void StoreObject(SceneObject obj)
21 {
22
23 }
24
25 public void RemoveObject(LLUUID obj)
26 {
27
28 }
29
30 public List<SceneObject> LoadObjects()
31 {
32 return null;
33 }
34
35 public void StoreTerrain(double[,] ter)
36 {
37
38 }
39
40 public double[,] LoadTerrain()
41 {
42 return null;
43 }
44
45 public void RemoveParcel(uint id)
46 {
47
48 }
49
50 public void StoreParcel(OpenSim.Region.Environment.Parcel parcel)
51 {
52
53 }
54
55 public List<OpenSim.Region.Environment.Parcel> LoadParcels()
56 {
57 return null;
58 }
59
60 public void Shutdown()
61 {
62
63 }
64 }
65}
diff --git a/OpenSim/Region/Storage/OpenSim.DataStore.NullStorage/Properties/AssemblyInfo.cs b/OpenSim/Region/Storage/OpenSim.DataStore.NullStorage/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..c0bd46d
--- /dev/null
+++ b/OpenSim/Region/Storage/OpenSim.DataStore.NullStorage/Properties/AssemblyInfo.cs
@@ -0,0 +1,35 @@
1using System.Reflection;
2using System.Runtime.CompilerServices;
3using System.Runtime.InteropServices;
4
5// General Information about an assembly is controlled through the following
6// set of attributes. Change these attribute values to modify the information
7// associated with an assembly.
8[assembly: AssemblyTitle("OpenSim.DataStore.NullStorage")]
9[assembly: AssemblyDescription("")]
10[assembly: AssemblyConfiguration("")]
11[assembly: AssemblyCompany("")]
12[assembly: AssemblyProduct("OpenSim.DataStore.NullStorage")]
13[assembly: AssemblyCopyright("Copyright © 2007")]
14[assembly: AssemblyTrademark("")]
15[assembly: AssemblyCulture("")]
16
17// Setting ComVisible to false makes the types in this assembly not visible
18// to COM components. If you need to access a type in this assembly from
19// COM, set the ComVisible attribute to true on that type.
20[assembly: ComVisible(false)]
21
22// The following GUID is for the ID of the typelib if this project is exposed to COM
23[assembly: Guid("b4a1656d-de22-4080-a970-fd8166acbf16")]
24
25// Version information for an assembly consists of the following four values:
26//
27// Major Version
28// Minor Version
29// Build Number
30// Revision
31//
32// You can specify all the values or you can default the Revision and Build Numbers
33// by using the '*' as shown below:
34[assembly: AssemblyVersion("1.0.0.0")]
35[assembly: AssemblyFileVersion("1.0.0.0")]