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 f380873..725c6df 100644 --- a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs +++ b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs | |||
@@ -322,6 +322,10 @@ namespace OpenSim.Services.Connectors.Simulation | |||
322 | return false; | 322 | return false; |
323 | } | 323 | } |
324 | 324 | ||
325 | OSDMap resp = (OSDMap)result["_Result"]; | ||
326 | success = resp["success"].AsBoolean(); | ||
327 | reason = resp["reason"].AsString(); | ||
328 | |||
325 | return success; | 329 | return success; |
326 | } | 330 | } |
327 | catch (Exception e) | 331 | catch (Exception e) |
@@ -350,9 +354,7 @@ namespace OpenSim.Services.Connectors.Simulation | |||
350 | return true; | 354 | return true; |
351 | } | 355 | } |
352 | 356 | ||
353 | /// <summary> | 357 | private bool CloseAgent(GridRegion destination, UUID id, bool ChildOnly) |
354 | /// </summary> | ||
355 | public bool CloseAgent(GridRegion destination, UUID id) | ||
356 | { | 358 | { |
357 | // m_log.DebugFormat("[REMOTE SIMULATION CONNECTOR]: CloseAgent start"); | 359 | // m_log.DebugFormat("[REMOTE SIMULATION CONNECTOR]: CloseAgent start"); |
358 | 360 | ||
@@ -370,6 +372,16 @@ namespace OpenSim.Services.Connectors.Simulation | |||
370 | return true; | 372 | return true; |
371 | } | 373 | } |
372 | 374 | ||
375 | public bool CloseChildAgent(GridRegion destination, UUID id) | ||
376 | { | ||
377 | return CloseAgent(destination, id, true); | ||
378 | } | ||
379 | |||
380 | public bool CloseAgent(GridRegion destination, UUID id) | ||
381 | { | ||
382 | return CloseAgent(destination, id, false); | ||
383 | } | ||
384 | |||
373 | #endregion Agents | 385 | #endregion Agents |
374 | 386 | ||
375 | #region Objects | 387 | #region Objects |