aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Common/OpenGrid.Framework.Communications/TestLocalCommsManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Common/OpenGrid.Framework.Communications/TestLocalCommsManager.cs')
-rw-r--r--Common/OpenGrid.Framework.Communications/TestLocalCommsManager.cs7
1 files changed, 1 insertions, 6 deletions
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