diff options
Diffstat (limited to 'OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs')
-rw-r--r-- | OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs index c45f456..24a23dd 100644 --- a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs +++ b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs | |||
@@ -337,6 +337,10 @@ namespace OpenSim.Services.Connectors.Simulation | |||
337 | return false; | 337 | return false; |
338 | } | 338 | } |
339 | 339 | ||
340 | OSDMap resp = (OSDMap)result["_Result"]; | ||
341 | success = resp["success"].AsBoolean(); | ||
342 | reason = resp["reason"].AsString(); | ||
343 | |||
340 | return success; | 344 | return success; |
341 | } | 345 | } |
342 | catch (Exception e) | 346 | catch (Exception e) |
@@ -365,9 +369,7 @@ namespace OpenSim.Services.Connectors.Simulation | |||
365 | return true; | 369 | return true; |
366 | } | 370 | } |
367 | 371 | ||
368 | /// <summary> | 372 | private bool CloseAgent(GridRegion destination, UUID id, bool ChildOnly) |
369 | /// </summary> | ||
370 | public bool CloseAgent(GridRegion destination, UUID id) | ||
371 | { | 373 | { |
372 | // m_log.DebugFormat("[REMOTE SIMULATION CONNECTOR]: CloseAgent start"); | 374 | // m_log.DebugFormat("[REMOTE SIMULATION CONNECTOR]: CloseAgent start"); |
373 | 375 | ||
@@ -385,6 +387,16 @@ namespace OpenSim.Services.Connectors.Simulation | |||
385 | return true; | 387 | return true; |
386 | } | 388 | } |
387 | 389 | ||
390 | public bool CloseChildAgent(GridRegion destination, UUID id) | ||
391 | { | ||
392 | return CloseAgent(destination, id, true); | ||
393 | } | ||
394 | |||
395 | public bool CloseAgent(GridRegion destination, UUID id) | ||
396 | { | ||
397 | return CloseAgent(destination, id, false); | ||
398 | } | ||
399 | |||
388 | #endregion Agents | 400 | #endregion Agents |
389 | 401 | ||
390 | #region Objects | 402 | #region Objects |