aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/DataSnapshot/Interfaces
diff options
context:
space:
mode:
authorCharles Krinke2008-05-17 15:47:08 +0000
committerCharles Krinke2008-05-17 15:47:08 +0000
commitf6a4f8844f01fb756bbc26d65c252fc07ab8c2bf (patch)
treeda27e199a03ec4afd829a3ab9b06deab47cd02a3 /OpenSim/Region/DataSnapshot/Interfaces
parentwhile this doesn't fix the initial no pants issue in grid (which still baffle... (diff)
downloadopensim-SC_OLD-f6a4f8844f01fb756bbc26d65c252fc07ab8c2bf.zip
opensim-SC_OLD-f6a4f8844f01fb756bbc26d65c252fc07ab8c2bf.tar.gz
opensim-SC_OLD-f6a4f8844f01fb756bbc26d65c252fc07ab8c2bf.tar.bz2
opensim-SC_OLD-f6a4f8844f01fb756bbc26d65c252fc07ab8c2bf.tar.xz
Thank you very much KMeisthax for DataSnapshot 1.1
to enhance search capability on OpenSim sims using external search engines such as Metaversink.com and others.
Diffstat (limited to 'OpenSim/Region/DataSnapshot/Interfaces')
-rw-r--r--OpenSim/Region/DataSnapshot/Interfaces/IDataSnapshot.cs13
-rw-r--r--OpenSim/Region/DataSnapshot/Interfaces/IDataSnapshotProvider.cs12
2 files changed, 20 insertions, 5 deletions
diff --git a/OpenSim/Region/DataSnapshot/Interfaces/IDataSnapshot.cs b/OpenSim/Region/DataSnapshot/Interfaces/IDataSnapshot.cs
new file mode 100644
index 0000000..697d313
--- /dev/null
+++ b/OpenSim/Region/DataSnapshot/Interfaces/IDataSnapshot.cs
@@ -0,0 +1,13 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4using System.Xml;
5
6namespace OpenSim.Region.DataSnapshot.Interfaces
7{
8 public interface IDataSnapshot
9 {
10 XmlDocument GetSnapshot(string regionName);
11 void MakeEverythingStale();
12 }
13}
diff --git a/OpenSim/Region/DataSnapshot/Interfaces/IDataSnapshotProvider.cs b/OpenSim/Region/DataSnapshot/Interfaces/IDataSnapshotProvider.cs
index fb9c51a..1519355 100644
--- a/OpenSim/Region/DataSnapshot/Interfaces/IDataSnapshotProvider.cs
+++ b/OpenSim/Region/DataSnapshot/Interfaces/IDataSnapshotProvider.cs
@@ -26,19 +26,21 @@
26* 26*
27*/ 27*/
28 28
29using System;
29using System.Xml; 30using System.Xml;
30using OpenSim.Region.Environment.Scenes; 31using OpenSim.Region.Environment.Scenes;
31 32
32namespace OpenSim.Region.DataSnapshot.Interfaces 33namespace OpenSim.Region.DataSnapshot.Interfaces
33{ 34{
35 public delegate void ProviderStale(IDataSnapshotProvider provider);
36
34 public interface IDataSnapshotProvider 37 public interface IDataSnapshotProvider
35 { 38 {
36 XmlNode RequestSnapshotData(XmlDocument document); 39 XmlNode RequestSnapshotData(XmlDocument document);
37
38 //void PrepareData();
39
40 void Initialize(Scene scene, DataSnapshotManager parent); 40 void Initialize(Scene scene, DataSnapshotManager parent);
41
42 Scene GetParentScene { get; } 41 Scene GetParentScene { get; }
42 String Name { get; }
43 bool Stale { get; set; }
44 event ProviderStale OnStale;
43 } 45 }
44} \ No newline at end of file 46}