diff options
Diffstat (limited to 'OpenSim/Services/Connectors/Simulation')
-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 93b3ae6..1c31402 100644 --- a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs +++ b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs | |||
@@ -300,6 +300,10 @@ namespace OpenSim.Services.Connectors.Simulation | |||
300 | return false; | 300 | return false; |
301 | } | 301 | } |
302 | 302 | ||
303 | OSDMap resp = (OSDMap)result["_Result"]; | ||
304 | success = resp["success"].AsBoolean(); | ||
305 | reason = resp["reason"].AsString(); | ||
306 | |||
303 | return success; | 307 | return success; |
304 | } | 308 | } |
305 | catch (Exception e) | 309 | catch (Exception e) |
@@ -328,9 +332,7 @@ namespace OpenSim.Services.Connectors.Simulation | |||
328 | return true; | 332 | return true; |
329 | } | 333 | } |
330 | 334 | ||
331 | /// <summary> | 335 | private bool CloseAgent(GridRegion destination, UUID id, bool ChildOnly) |
332 | /// </summary> | ||
333 | public bool CloseAgent(GridRegion destination, UUID id) | ||
334 | { | 336 | { |
335 | // m_log.DebugFormat("[REMOTE SIMULATION CONNECTOR]: CloseAgent start"); | 337 | // m_log.DebugFormat("[REMOTE SIMULATION CONNECTOR]: CloseAgent start"); |
336 | 338 | ||
@@ -348,6 +350,16 @@ namespace OpenSim.Services.Connectors.Simulation | |||
348 | return true; | 350 | return true; |
349 | } | 351 | } |
350 | 352 | ||
353 | public bool CloseChildAgent(GridRegion destination, UUID id) | ||
354 | { | ||
355 | return CloseAgent(destination, id, true); | ||
356 | } | ||
357 | |||
358 | public bool CloseAgent(GridRegion destination, UUID id) | ||
359 | { | ||
360 | return CloseAgent(destination, id, false); | ||
361 | } | ||
362 | |||
351 | #endregion Agents | 363 | #endregion Agents |
352 | 364 | ||
353 | #region Objects | 365 | #region Objects |