diff options
author | Teravus Ovares | 2008-01-21 23:04:42 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-01-21 23:04:42 +0000 |
commit | 3fe6b2280d0b335ef8d9f2b0dc3406a47e6c0b53 (patch) | |
tree | bb8cbf0b5918448c92f6b0f42fec5013450d7e25 /OpenSim/Region/Communications/Local/LocalBackEndServices.cs | |
parent | Another attempt to squash the animation bug. Wish I could get this to fail at... (diff) | |
download | opensim-SC_OLD-3fe6b2280d0b335ef8d9f2b0dc3406a47e6c0b53.zip opensim-SC_OLD-3fe6b2280d0b335ef8d9f2b0dc3406a47e6c0b53.tar.gz opensim-SC_OLD-3fe6b2280d0b335ef8d9f2b0dc3406a47e6c0b53.tar.bz2 opensim-SC_OLD-3fe6b2280d0b335ef8d9f2b0dc3406a47e6c0b53.tar.xz |
* Shutting down child agents properly in neighbor regions.
Diffstat (limited to 'OpenSim/Region/Communications/Local/LocalBackEndServices.cs')
-rw-r--r-- | OpenSim/Region/Communications/Local/LocalBackEndServices.cs | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/OpenSim/Region/Communications/Local/LocalBackEndServices.cs b/OpenSim/Region/Communications/Local/LocalBackEndServices.cs index 5b16e5a..25452c1 100644 --- a/OpenSim/Region/Communications/Local/LocalBackEndServices.cs +++ b/OpenSim/Region/Communications/Local/LocalBackEndServices.cs | |||
@@ -203,7 +203,14 @@ namespace OpenSim.Region.Communications.Local | |||
203 | } | 203 | } |
204 | return mapBlocks; | 204 | return mapBlocks; |
205 | } | 205 | } |
206 | 206 | public bool TellRegionToCloseChildConnection(ulong regionHandle, LLUUID agentID) | |
207 | { | ||
208 | if (m_regionListeners.ContainsKey(regionHandle)) | ||
209 | { | ||
210 | return m_regionListeners[regionHandle].TriggerTellRegionToCloseChildConnection(regionHandle, agentID); | ||
211 | } | ||
212 | return false; | ||
213 | } | ||
207 | 214 | ||
208 | public virtual bool RegionUp(SearializableRegionInfo sregion, ulong regionhandle) | 215 | public virtual bool RegionUp(SearializableRegionInfo sregion, ulong regionhandle) |
209 | { | 216 | { |
@@ -267,6 +274,14 @@ namespace OpenSim.Region.Communications.Local | |||
267 | return false; | 274 | return false; |
268 | } | 275 | } |
269 | 276 | ||
277 | public bool TriggerTellRegionToCloseChildConnection(ulong regionHandle, LLUUID agentID) | ||
278 | { | ||
279 | if (m_regionListeners.ContainsKey(regionHandle)) | ||
280 | { | ||
281 | return m_regionListeners[regionHandle].TriggerTellRegionToCloseChildConnection(regionHandle, agentID); | ||
282 | } | ||
283 | return false; | ||
284 | } | ||
270 | /// <summary> | 285 | /// <summary> |
271 | /// </summary> | 286 | /// </summary> |
272 | /// <param name="regionHandle"></param> | 287 | /// <param name="regionHandle"></param> |
@@ -328,13 +343,7 @@ namespace OpenSim.Region.Communications.Local | |||
328 | return false; | 343 | return false; |
329 | } | 344 | } |
330 | 345 | ||
331 | public void TellRegionToCloseChildConnection(ulong regionHandle, LLUUID agentID) | 346 | |
332 | { | ||
333 | if (m_regionListeners.ContainsKey(regionHandle)) | ||
334 | { | ||
335 | m_regionListeners[regionHandle].TriggerCloseAgentConnection(regionHandle, agentID); | ||
336 | } | ||
337 | } | ||
338 | 347 | ||
339 | public bool AcknowledgeAgentCrossed(ulong regionHandle, LLUUID agentId) | 348 | public bool AcknowledgeAgentCrossed(ulong regionHandle, LLUUID agentId) |
340 | { | 349 | { |