aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data
diff options
context:
space:
mode:
authorlbsa712009-02-26 11:44:16 +0000
committerlbsa712009-02-26 11:44:16 +0000
commit82efceb4942ee11ba45ed61899774b22ff4c0426 (patch)
tree6b16d004fa95f6943d9f7569bb491bf13336c6ef /OpenSim/Data
parentRenamed IMessageUserServerService to IInterServiceUserService.cs (diff)
downloadopensim-SC_OLD-82efceb4942ee11ba45ed61899774b22ff4c0426.zip
opensim-SC_OLD-82efceb4942ee11ba45ed61899774b22ff4c0426.tar.gz
opensim-SC_OLD-82efceb4942ee11ba45ed61899774b22ff4c0426.tar.bz2
opensim-SC_OLD-82efceb4942ee11ba45ed61899774b22ff4c0426.tar.xz
* renamed IRegionProfileService to IRegionProfileRouter to better reflect use (naming is a work in progress...)
* introduced new IRegionProfileService that is going to be _one_ profileService * Had GridDBService inherit the IRegionProfileService (preparing for re-wiring things and de-duplicating eventually)
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/IRegionProfileService.cs24
-rw-r--r--OpenSim/Data/RegionProfileServiceProxy.cs2
2 files changed, 25 insertions, 1 deletions
diff --git a/OpenSim/Data/IRegionProfileService.cs b/OpenSim/Data/IRegionProfileService.cs
index 0f0ca6f..7a2b46f 100644
--- a/OpenSim/Data/IRegionProfileService.cs
+++ b/OpenSim/Data/IRegionProfileService.cs
@@ -35,6 +35,30 @@ namespace OpenSim.Data
35 public interface IRegionProfileService 35 public interface IRegionProfileService
36 { 36 {
37 /// <summary> 37 /// <summary>
38 /// Returns a region by argument
39 /// </summary>
40 /// <param name="uuid">A UUID key of the region to return</param>
41 /// <returns>A SimProfileData for the region</returns>
42 RegionProfileData GetRegion(UUID uuid);
43
44 /// <summary>
45 /// Returns a region by argument
46 /// </summary>
47 /// <param name="uuid">A regionHandle of the region to return</param>
48 /// <returns>A SimProfileData for the region</returns>
49 RegionProfileData GetRegion(ulong handle);
50
51 /// <summary>
52 /// Returns a region by argument
53 /// </summary>
54 /// <param name="regionName">A partial regionName of the region to return</param>
55 /// <returns>A SimProfileData for the region</returns>
56 RegionProfileData GetRegion(string regionName);
57 }
58
59 public interface IRegionProfileRouter
60 {
61 /// <summary>
38 /// Request sim profile information from a grid server, by Region UUID 62 /// Request sim profile information from a grid server, by Region UUID
39 /// </summary> 63 /// </summary>
40 /// <param name="regionId">The region UUID to look for</param> 64 /// <param name="regionId">The region UUID to look for</param>
diff --git a/OpenSim/Data/RegionProfileServiceProxy.cs b/OpenSim/Data/RegionProfileServiceProxy.cs
index d0072d1..126e363 100644
--- a/OpenSim/Data/RegionProfileServiceProxy.cs
+++ b/OpenSim/Data/RegionProfileServiceProxy.cs
@@ -35,7 +35,7 @@ using OpenSim.Framework;
35 35
36namespace OpenSim.Data 36namespace OpenSim.Data
37{ 37{
38 public class RegionProfileServiceProxy : IRegionProfileService 38 public class RegionProfileServiceProxy : IRegionProfileRouter
39 { 39 {
40 /// <summary> 40 /// <summary>
41 /// Request sim data based on arbitrary key/value 41 /// Request sim data based on arbitrary key/value