From 82efceb4942ee11ba45ed61899774b22ff4c0426 Mon Sep 17 00:00:00 2001
From: lbsa71
Date: Thu, 26 Feb 2009 11:44:16 +0000
Subject: * 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)
---
OpenSim/Data/IRegionProfileService.cs | 24 ++++++++++++++++++++++++
OpenSim/Data/RegionProfileServiceProxy.cs | 2 +-
2 files changed, 25 insertions(+), 1 deletion(-)
(limited to 'OpenSim/Data')
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
public interface IRegionProfileService
{
///
+ /// Returns a region by argument
+ ///
+ /// A UUID key of the region to return
+ /// A SimProfileData for the region
+ RegionProfileData GetRegion(UUID uuid);
+
+ ///
+ /// Returns a region by argument
+ ///
+ /// A regionHandle of the region to return
+ /// A SimProfileData for the region
+ RegionProfileData GetRegion(ulong handle);
+
+ ///
+ /// Returns a region by argument
+ ///
+ /// A partial regionName of the region to return
+ /// A SimProfileData for the region
+ RegionProfileData GetRegion(string regionName);
+ }
+
+ public interface IRegionProfileRouter
+ {
+ ///
/// Request sim profile information from a grid server, by Region UUID
///
/// The region UUID to look for
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;
namespace OpenSim.Data
{
- public class RegionProfileServiceProxy : IRegionProfileService
+ public class RegionProfileServiceProxy : IRegionProfileRouter
{
///
/// Request sim data based on arbitrary key/value
--
cgit v1.1