aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Interfaces
diff options
context:
space:
mode:
authorDiva Canto2009-09-18 19:16:30 -0700
committerDiva Canto2009-09-18 19:16:30 -0700
commite7362738155c0a0a5c9ef8b867eb14b18bb31a44 (patch)
tree527dba75b3d61ecbf2a18df0e2b2467376a569e1 /OpenSim/Services/Interfaces
parentAdd the Null storage implementation for the RegionData service. Standalones (diff)
downloadopensim-SC-e7362738155c0a0a5c9ef8b867eb14b18bb31a44.zip
opensim-SC-e7362738155c0a0a5c9ef8b867eb14b18bb31a44.tar.gz
opensim-SC-e7362738155c0a0a5c9ef8b867eb14b18bb31a44.tar.bz2
opensim-SC-e7362738155c0a0a5c9ef8b867eb14b18bb31a44.tar.xz
First pass at the grid service.
Diffstat (limited to 'OpenSim/Services/Interfaces')
-rw-r--r--OpenSim/Services/Interfaces/IGridService.cs17
1 files changed, 11 insertions, 6 deletions
diff --git a/OpenSim/Services/Interfaces/IGridService.cs b/OpenSim/Services/Interfaces/IGridService.cs
index ac4539a..83ab9c1 100644
--- a/OpenSim/Services/Interfaces/IGridService.cs
+++ b/OpenSim/Services/Interfaces/IGridService.cs
@@ -39,7 +39,7 @@ namespace OpenSim.Services.Interfaces
39 /// <param name="regionInfos"> </param> 39 /// <param name="regionInfos"> </param>
40 /// <returns></returns> 40 /// <returns></returns>
41 /// <exception cref="System.Exception">Thrown if region registration failed</exception> 41 /// <exception cref="System.Exception">Thrown if region registration failed</exception>
42 bool RegisterRegion(UUID scopeID, RegionInfo regionInfos); 42 bool RegisterRegion(UUID scopeID, SimpleRegionInfo regionInfos);
43 43
44 /// <summary> 44 /// <summary>
45 /// Deregister a region with the grid service. 45 /// Deregister a region with the grid service.
@@ -50,15 +50,22 @@ namespace OpenSim.Services.Interfaces
50 bool DeregisterRegion(UUID regionID); 50 bool DeregisterRegion(UUID regionID);
51 51
52 /// <summary> 52 /// <summary>
53 /// Get information about the regions neighbouring the given co-ordinates. 53 /// Get information about the regions neighbouring the given co-ordinates (in meters).
54 /// </summary> 54 /// </summary>
55 /// <param name="x"></param> 55 /// <param name="x"></param>
56 /// <param name="y"></param> 56 /// <param name="y"></param>
57 /// <returns></returns> 57 /// <returns></returns>
58 List<SimpleRegionInfo> GetNeighbours(UUID scopeID, uint x, uint y); 58 List<SimpleRegionInfo> GetNeighbours(UUID scopeID, int x, int y);
59 59
60 SimpleRegionInfo GetRegionByUUID(UUID scopeID, UUID regionID); 60 SimpleRegionInfo GetRegionByUUID(UUID scopeID, UUID regionID);
61 61
62 /// <summary>
63 /// Get the region at the given position (in meters)
64 /// </summary>
65 /// <param name="scopeID"></param>
66 /// <param name="x"></param>
67 /// <param name="y"></param>
68 /// <returns></returns>
62 SimpleRegionInfo GetRegionByPosition(UUID scopeID, int x, int y); 69 SimpleRegionInfo GetRegionByPosition(UUID scopeID, int x, int y);
63 70
64 SimpleRegionInfo GetRegionByName(UUID scopeID, string regionName); 71 SimpleRegionInfo GetRegionByName(UUID scopeID, string regionName);
@@ -78,9 +85,7 @@ namespace OpenSim.Services.Interfaces
78 /// </returns> 85 /// </returns>
79 List<SimpleRegionInfo> GetRegionsByName(UUID scopeID, string name, int maxNumber); 86 List<SimpleRegionInfo> GetRegionsByName(UUID scopeID, string name, int maxNumber);
80 87
81 88 List<SimpleRegionInfo> GetRegionRange(UUID scopeID, int xmin, int xmax, int ymin, int ymax);
82 // Not sure about these two (diva)
83
84 89
85 } 90 }
86} 91}