aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Common/OpenGrid.Framework.Communications/GridServer
diff options
context:
space:
mode:
Diffstat (limited to 'Common/OpenGrid.Framework.Communications/GridServer')
-rw-r--r--Common/OpenGrid.Framework.Communications/GridServer/GridCommsManagerBase.cs2
-rw-r--r--Common/OpenGrid.Framework.Communications/GridServer/GridCommsManagerLocal.cs12
-rw-r--r--Common/OpenGrid.Framework.Communications/GridServer/GridCommsManagerOGS.cs2
3 files changed, 9 insertions, 7 deletions
diff --git a/Common/OpenGrid.Framework.Communications/GridServer/GridCommsManagerBase.cs b/Common/OpenGrid.Framework.Communications/GridServer/GridCommsManagerBase.cs
index eab7bac..6781806 100644
--- a/Common/OpenGrid.Framework.Communications/GridServer/GridCommsManagerBase.cs
+++ b/Common/OpenGrid.Framework.Communications/GridServer/GridCommsManagerBase.cs
@@ -16,7 +16,7 @@ namespace OpenGrid.Framework.Communications.GridServer
16 /// </summary> 16 /// </summary>
17 /// <param name="regionInfo"></param> 17 /// <param name="regionInfo"></param>
18 /// <returns></returns> 18 /// <returns></returns>
19 internal virtual RegionCommsHostBase RegisterRegion(RegionInfo regionInfo) 19 public virtual RegionCommsHostBase RegisterRegion(RegionInfo regionInfo)
20 { 20 {
21 return null; 21 return null;
22 } 22 }
diff --git a/Common/OpenGrid.Framework.Communications/GridServer/GridCommsManagerLocal.cs b/Common/OpenGrid.Framework.Communications/GridServer/GridCommsManagerLocal.cs
index 9e7f1e5..bf7d5b9 100644
--- a/Common/OpenGrid.Framework.Communications/GridServer/GridCommsManagerLocal.cs
+++ b/Common/OpenGrid.Framework.Communications/GridServer/GridCommsManagerLocal.cs
@@ -11,19 +11,21 @@ namespace OpenGrid.Framework.Communications.GridServer
11{ 11{
12 public class GridCommsManagerLocal : GridCommsManagerBase 12 public class GridCommsManagerLocal : GridCommsManagerBase
13 { 13 {
14 public GridCommsManagerLocal() 14 private SandBoxManager sandBoxManager;
15 {
16 15
16 public GridCommsManagerLocal(SandBoxManager sandManager)
17 {
18 sandBoxManager = sandManager;
17 } 19 }
18 20
19 internal override RegionCommsHostBase RegisterRegion(RegionInfo regionInfo) 21 public override RegionCommsHostBase RegisterRegion(RegionInfo regionInfo)
20 { 22 {
21 return null; 23 return sandBoxManager.RegisterRegion(regionInfo);
22 } 24 }
23 25
24 public override List<RegionInfo> RequestNeighbours(RegionInfo regionInfo) 26 public override List<RegionInfo> RequestNeighbours(RegionInfo regionInfo)
25 { 27 {
26 return null; 28 return sandBoxManager.RequestNeighbours(regionInfo);
27 } 29 }
28 } 30 }
29} 31}
diff --git a/Common/OpenGrid.Framework.Communications/GridServer/GridCommsManagerOGS.cs b/Common/OpenGrid.Framework.Communications/GridServer/GridCommsManagerOGS.cs
index 1788873..acf8911 100644
--- a/Common/OpenGrid.Framework.Communications/GridServer/GridCommsManagerOGS.cs
+++ b/Common/OpenGrid.Framework.Communications/GridServer/GridCommsManagerOGS.cs
@@ -13,7 +13,7 @@ namespace OpenGrid.Framework.Communications.GridServer
13 { 13 {
14 } 14 }
15 15
16 internal override RegionCommsHostBase RegisterRegion(RegionInfo regionInfo) 16 public override RegionCommsHostBase RegisterRegion(RegionInfo regionInfo)
17 { 17 {
18 return null; 18 return null;
19 } 19 }