aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs')
-rw-r--r--OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs18
1 files changed, 15 insertions, 3 deletions
diff --git a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs
index cef6473..0ad9121 100644
--- a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs
+++ b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs
@@ -308,6 +308,10 @@ namespace OpenSim.Services.Connectors.Simulation
308 return false; 308 return false;
309 } 309 }
310 310
311 OSDMap resp = (OSDMap)result["_Result"];
312 success = resp["success"].AsBoolean();
313 reason = resp["reason"].AsString();
314
311 return success; 315 return success;
312 } 316 }
313 catch (Exception e) 317 catch (Exception e)
@@ -336,9 +340,7 @@ namespace OpenSim.Services.Connectors.Simulation
336 return true; 340 return true;
337 } 341 }
338 342
339 /// <summary> 343 private bool CloseAgent(GridRegion destination, UUID id, bool ChildOnly)
340 /// </summary>
341 public bool CloseAgent(GridRegion destination, UUID id)
342 { 344 {
343 // m_log.DebugFormat("[REMOTE SIMULATION CONNECTOR]: CloseAgent start"); 345 // m_log.DebugFormat("[REMOTE SIMULATION CONNECTOR]: CloseAgent start");
344 346
@@ -356,6 +358,16 @@ namespace OpenSim.Services.Connectors.Simulation
356 return true; 358 return true;
357 } 359 }
358 360
361 public bool CloseChildAgent(GridRegion destination, UUID id)
362 {
363 return CloseAgent(destination, id, true);
364 }
365
366 public bool CloseAgent(GridRegion destination, UUID id)
367 {
368 return CloseAgent(destination, id, false);
369 }
370
359 #endregion Agents 371 #endregion Agents
360 372
361 #region Objects 373 #region Objects