aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Interfaces
diff options
context:
space:
mode:
authorDiva Canto2009-09-24 15:30:00 -0700
committerDiva Canto2009-09-24 15:30:00 -0700
commit1faaa0a43a851c44af40336336ddbe3a7dbe83af (patch)
treeab1ec0d0238fc64b9538c9ecd6d55c71c665de5b /OpenSim/Services/Interfaces
parentAdded test GridClient, which allowed me to remove a few bugs out of the new c... (diff)
downloadopensim-SC_OLD-1faaa0a43a851c44af40336336ddbe3a7dbe83af.zip
opensim-SC_OLD-1faaa0a43a851c44af40336336ddbe3a7dbe83af.tar.gz
opensim-SC_OLD-1faaa0a43a851c44af40336336ddbe3a7dbe83af.tar.bz2
opensim-SC_OLD-1faaa0a43a851c44af40336336ddbe3a7dbe83af.tar.xz
GridServerPostHandler finished. GridClient tests all work. More guards on getting parameters and replies over the wire.
Diffstat (limited to 'OpenSim/Services/Interfaces')
-rw-r--r--OpenSim/Services/Interfaces/IGridService.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Services/Interfaces/IGridService.cs b/OpenSim/Services/Interfaces/IGridService.cs
index d12276f..4bdcde2 100644
--- a/OpenSim/Services/Interfaces/IGridService.cs
+++ b/OpenSim/Services/Interfaces/IGridService.cs
@@ -263,6 +263,7 @@ namespace OpenSim.Services.Interfaces
263 kvp["uuid"] = RegionID.ToString(); 263 kvp["uuid"] = RegionID.ToString();
264 kvp["locX"] = RegionLocX.ToString(); 264 kvp["locX"] = RegionLocX.ToString();
265 kvp["locY"] = RegionLocY.ToString(); 265 kvp["locY"] = RegionLocY.ToString();
266 kvp["name"] = RegionName;
266 kvp["external_ip_address"] = ExternalEndPoint.Address.ToString(); 267 kvp["external_ip_address"] = ExternalEndPoint.Address.ToString();
267 kvp["external_port"] = ExternalEndPoint.Port.ToString(); 268 kvp["external_port"] = ExternalEndPoint.Port.ToString();
268 kvp["external_host_name"] = ExternalHostName; 269 kvp["external_host_name"] = ExternalHostName;
@@ -286,6 +287,9 @@ namespace OpenSim.Services.Interfaces
286 if (kvp["locY"] != null) 287 if (kvp["locY"] != null)
287 RegionLocY = Convert.ToInt32((string)kvp["locY"]); 288 RegionLocY = Convert.ToInt32((string)kvp["locY"]);
288 289
290 if (kvp["name"] != null)
291 RegionName = (string)kvp["name"];
292
289 if ((kvp["external_ip_address"] != null) && (kvp["external_port"] != null)) 293 if ((kvp["external_ip_address"] != null) && (kvp["external_port"] != null))
290 { 294 {
291 int port = 0; 295 int port = 0;