diff options
Added SandBoxManager which in sandbox mode, acts as the backend server for the CommsManager interfaces (commsManager.gridServer etc).
Diffstat (limited to 'Common/OpenGrid.Framework.Communications/GridServer/GridCommsManagerLocal.cs')
-rw-r--r-- | Common/OpenGrid.Framework.Communications/GridServer/GridCommsManagerLocal.cs | 12 |
1 files changed, 7 insertions, 5 deletions
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 | } |