aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Communications/Local/LocalBackEndServices.cs
diff options
context:
space:
mode:
authorTeravus Ovares2007-11-29 02:07:19 +0000
committerTeravus Ovares2007-11-29 02:07:19 +0000
commit81ba94fde8871df86e304a3dad7846059fd32045 (patch)
treee69bf4f58fe2a18576eac64f677de196d0f31278 /OpenSim/Region/Communications/Local/LocalBackEndServices.cs
parentset svn:eol-style (diff)
downloadopensim-SC_OLD-81ba94fde8871df86e304a3dad7846059fd32045.zip
opensim-SC_OLD-81ba94fde8871df86e304a3dad7846059fd32045.tar.gz
opensim-SC_OLD-81ba94fde8871df86e304a3dad7846059fd32045.tar.bz2
opensim-SC_OLD-81ba94fde8871df86e304a3dad7846059fd32045.tar.xz
* Fixed about 7 issues with restarting sims and resolved interRegion comms issues. This includes the issue that MW described this morning.
There's a lot of little nit picky changes that make a world of difference.
Diffstat (limited to 'OpenSim/Region/Communications/Local/LocalBackEndServices.cs')
-rw-r--r--OpenSim/Region/Communications/Local/LocalBackEndServices.cs29
1 files changed, 15 insertions, 14 deletions
diff --git a/OpenSim/Region/Communications/Local/LocalBackEndServices.cs b/OpenSim/Region/Communications/Local/LocalBackEndServices.cs
index 0f3ec73..17989d4 100644
--- a/OpenSim/Region/Communications/Local/LocalBackEndServices.cs
+++ b/OpenSim/Region/Communications/Local/LocalBackEndServices.cs
@@ -194,34 +194,35 @@ namespace OpenSim.Region.Communications.Local
194 return mapBlocks; 194 return mapBlocks;
195 } 195 }
196 196
197 /// <summary> 197
198 /// </summary> 198 public bool RegionUp(SearializableRegionInfo sregion, ulong regionhandle)
199 /// <param name="regionHandle"></param>
200 /// <param name="agentData"></param>
201 /// <returns></returns>
202 ///
203 public bool RegionUp(SearializableRegionInfo sregion)
204 { 199 {
205 RegionInfo region = new RegionInfo(sregion); 200 RegionInfo region = new RegionInfo(sregion);
206 foreach (RegionCommsListener listener in m_regionListeners.Values) 201 if (m_regionListeners.ContainsKey(regionhandle))
207 { 202 {
208 listener.TriggerRegionUp(region); 203 return m_regionListeners[regionhandle].TriggerRegionUp(region);
209 } 204 }
210 205
211 return false; 206 return false;
212 } 207 }
213 208
214 public bool TriggerRegionUp(RegionInfo region) 209 public bool TriggerRegionUp(RegionInfo region, ulong regionhandle)
215 { 210 {
216 211
217 foreach (RegionCommsListener listener in m_regionListeners.Values) 212 if (m_regionListeners.ContainsKey(regionhandle))
218 { 213 {
219 listener.TriggerRegionUp(region); 214 return m_regionListeners[regionhandle].TriggerRegionUp(region);
220 } 215 }
221 216
222 return true; 217 return false;
223 } 218 }
224 219
220 /// <summary>
221 /// </summary>
222 /// <param name="regionHandle"></param>
223 /// <param name="agentData"></param>
224 /// <returns></returns>
225 ///
225 public bool InformRegionOfChildAgent(ulong regionHandle, AgentCircuitData agentData) 226 public bool InformRegionOfChildAgent(ulong regionHandle, AgentCircuitData agentData)
226 //should change from agentCircuitData 227 //should change from agentCircuitData
227 { 228 {