diff options
Diffstat (limited to 'Common/OpenGrid.Framework.Communications')
-rw-r--r-- | Common/OpenGrid.Framework.Communications/RegionServerCommsManager.cs | 1 | ||||
-rw-r--r-- | Common/OpenGrid.Framework.Communications/TestLocalCommsManager.cs | 7 |
2 files changed, 2 insertions, 6 deletions
diff --git a/Common/OpenGrid.Framework.Communications/RegionServerCommsManager.cs b/Common/OpenGrid.Framework.Communications/RegionServerCommsManager.cs index 0b2b72e..fa786d3 100644 --- a/Common/OpenGrid.Framework.Communications/RegionServerCommsManager.cs +++ b/Common/OpenGrid.Framework.Communications/RegionServerCommsManager.cs | |||
@@ -9,6 +9,7 @@ using libsecondlife; | |||
9 | 9 | ||
10 | namespace OpenGrid.Framework.Communications | 10 | namespace OpenGrid.Framework.Communications |
11 | { | 11 | { |
12 | |||
12 | public class RegionServerCommsManager | 13 | public class RegionServerCommsManager |
13 | { | 14 | { |
14 | 15 | ||
diff --git a/Common/OpenGrid.Framework.Communications/TestLocalCommsManager.cs b/Common/OpenGrid.Framework.Communications/TestLocalCommsManager.cs index c82c820..fad2001 100644 --- a/Common/OpenGrid.Framework.Communications/TestLocalCommsManager.cs +++ b/Common/OpenGrid.Framework.Communications/TestLocalCommsManager.cs | |||
@@ -27,16 +27,12 @@ namespace OpenGrid.Framework.Communications | |||
27 | public override RegionCommsHostBase RegisterRegion(RegionInfo regionInfo) | 27 | public override RegionCommsHostBase RegisterRegion(RegionInfo regionInfo) |
28 | { | 28 | { |
29 | //Console.WriteLine("CommsManager - Region " + regionInfo.RegionHandle + " , " + regionInfo.RegionLocX + " , "+ regionInfo.RegionLocY +" is registering"); | 29 | //Console.WriteLine("CommsManager - Region " + regionInfo.RegionHandle + " , " + regionInfo.RegionLocX + " , "+ regionInfo.RegionLocY +" is registering"); |
30 | |||
31 | if (!this.regions.ContainsKey((uint)regionInfo.RegionHandle)) | 30 | if (!this.regions.ContainsKey((uint)regionInfo.RegionHandle)) |
32 | { | 31 | { |
33 | //Console.WriteLine("CommsManager - Adding Region " + regionInfo.RegionHandle ); | 32 | //Console.WriteLine("CommsManager - Adding Region " + regionInfo.RegionHandle ); |
34 | |||
35 | this.regions.Add(regionInfo.RegionHandle, regionInfo); | 33 | this.regions.Add(regionInfo.RegionHandle, regionInfo); |
36 | RegionCommsHostBase regionHost = new RegionCommsHostBase(); | 34 | RegionCommsHostBase regionHost = new RegionCommsHostBase(); |
37 | this.regionHosts.Add(regionInfo.RegionHandle, regionHost); | 35 | this.regionHosts.Add(regionInfo.RegionHandle, regionHost); |
38 | |||
39 | |||
40 | return regionHost; | 36 | return regionHost; |
41 | } | 37 | } |
42 | 38 | ||
@@ -69,7 +65,6 @@ namespace OpenGrid.Framework.Communications | |||
69 | } | 65 | } |
70 | } | 66 | } |
71 | } | 67 | } |
72 | |||
73 | return neighbours; | 68 | return neighbours; |
74 | } | 69 | } |
75 | 70 | ||