aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Common/OpenGrid.Framework.Communications/IGridServices.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Common/OpenGrid.Framework.Communications/IGridServices.cs')
-rw-r--r--Common/OpenGrid.Framework.Communications/IGridServices.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/Common/OpenGrid.Framework.Communications/IGridServices.cs b/Common/OpenGrid.Framework.Communications/IGridServices.cs
index b4bc3b6..469cf80 100644
--- a/Common/OpenGrid.Framework.Communications/IGridServices.cs
+++ b/Common/OpenGrid.Framework.Communications/IGridServices.cs
@@ -34,9 +34,16 @@ using OpenSim.Framework;
34 34
35namespace OpenGrid.Framework.Communications 35namespace OpenGrid.Framework.Communications
36{ 36{
37 public class GridInfo
38 {
39 public string GridServerURI = "http://grid:8001/";
40 public string GridServerSendKey = "badger";
41 public string GridServerRecvKey = "badger";
42 }
43
37 public interface IGridServices 44 public interface IGridServices
38 { 45 {
39 RegionCommsListener RegisterRegion(RegionInfo regionInfo); 46 RegionCommsListener RegisterRegion(RegionInfo regionInfo, GridInfo gridInfo);
40 List<RegionInfo> RequestNeighbours(RegionInfo regionInfo); 47 List<RegionInfo> RequestNeighbours(RegionInfo regionInfo);
41 RegionInfo RequestNeighbourInfo(ulong regionHandle); 48 RegionInfo RequestNeighbourInfo(ulong regionHandle);
42 List<MapBlockData> RequestNeighbourMapBlocks(int minX, int minY, int maxX, int maxY); 49 List<MapBlockData> RequestNeighbourMapBlocks(int minX, int minY, int maxX, int maxY);