aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Hypergrid/HGSceneCommunicationService.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/Hypergrid/HGSceneCommunicationService.cs (renamed from OpenSim/Region/Environment/Scenes/Hypergrid/HGSceneCommunicationService.cs)19
1 files changed, 8 insertions, 11 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Hypergrid/HGSceneCommunicationService.cs b/OpenSim/Region/Framework/Scenes/Hypergrid/HGSceneCommunicationService.cs
index 5e3e03f..d0dc4f7 100644
--- a/OpenSim/Region/Environment/Scenes/Hypergrid/HGSceneCommunicationService.cs
+++ b/OpenSim/Region/Framework/Scenes/Hypergrid/HGSceneCommunicationService.cs
@@ -38,11 +38,11 @@ using OpenSim.Framework;
38using OpenSim.Framework.Communications; 38using OpenSim.Framework.Communications;
39using OpenSim.Framework.Communications.Cache; 39using OpenSim.Framework.Communications.Cache;
40using OpenSim.Framework.Communications.Capabilities; 40using OpenSim.Framework.Communications.Capabilities;
41using OpenSim.Region.Environment.Scenes; 41using OpenSim.Region.Framework.Scenes;
42using OpenSim.Region.Environment; 42// using OpenSim.Region.Environment;
43using OpenSim.Region.Interfaces; 43using OpenSim.Region.Framework.Interfaces;
44 44
45namespace OpenSim.Region.Environment.Scenes.Hypergrid 45namespace OpenSim.Region.Framework.Scenes.Hypergrid
46{ 46{
47 public class HGSceneCommunicationService : SceneCommunicationService 47 public class HGSceneCommunicationService : SceneCommunicationService
48 { 48 {
@@ -208,16 +208,14 @@ namespace OpenSim.Region.Environment.Scenes.Hypergrid
208 208
209 if (eq != null) 209 if (eq != null)
210 { 210 {
211 OSD Item = EventQueueHelper.EnableSimulator(realHandle, endPoint); 211 eq.EnableSimulator(realHandle, endPoint, avatar.UUID);
212 eq.Enqueue(Item, avatar.UUID);
213 212
214 // ES makes the client send a UseCircuitCode message to the destination, 213 // ES makes the client send a UseCircuitCode message to the destination,
215 // which triggers a bunch of things there. 214 // which triggers a bunch of things there.
216 // So let's wait 215 // So let's wait
217 Thread.Sleep(2000); 216 Thread.Sleep(2000);
218 217
219 Item = EventQueueHelper.EstablishAgentCommunication(avatar.UUID, endPoint.ToString(), capsPath); 218 eq.EstablishAgentCommunication(avatar.UUID, endPoint, capsPath);
220 eq.Enqueue(Item, avatar.UUID);
221 } 219 }
222 else 220 else
223 { 221 {
@@ -267,9 +265,8 @@ namespace OpenSim.Region.Environment.Scenes.Hypergrid
267 /// 265 ///
268 if (eq != null) 266 if (eq != null)
269 { 267 {
270 OSD Item = EventQueueHelper.TeleportFinishEvent(realHandle, 13, endPoint, 268 eq.TeleportFinishEvent(realHandle, 13, endPoint,
271 4, teleportFlags, capsPath, avatar.UUID); 269 4, teleportFlags, capsPath, avatar.UUID);
272 eq.Enqueue(Item, avatar.UUID);
273 } 270 }
274 else 271 else
275 { 272 {