diff options
author | MW | 2007-06-10 18:51:45 +0000 |
---|---|---|
committer | MW | 2007-06-10 18:51:45 +0000 |
commit | 453fadd94071545b76706674bb284402c9a065c0 (patch) | |
tree | e971a1970f5926da1a9393b94f9b3e109a8cd14b /Common/OpenGrid.Framework.Communications/GridServer | |
parent | Added a Couple of summary comments (diff) | |
download | opensim-SC_OLD-453fadd94071545b76706674bb284402c9a065c0.zip opensim-SC_OLD-453fadd94071545b76706674bb284402c9a065c0.tar.gz opensim-SC_OLD-453fadd94071545b76706674bb284402c9a065c0.tar.bz2 opensim-SC_OLD-453fadd94071545b76706674bb284402c9a065c0.tar.xz |
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')
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 | } |