diff options
author | UbitUmarov | 2015-09-02 19:54:53 +0100 |
---|---|---|
committer | UbitUmarov | 2015-09-02 19:54:53 +0100 |
commit | a11edceb00b5b86f825bd957bdac9edb91f893dd (patch) | |
tree | c192eae26f3aadf365a66f32fc6d9ade2f0a0c61 /OpenSim/Region/ClientStack/Linden/Caps/EventQueue | |
parent | bad merge? (diff) | |
download | opensim-SC_OLD-a11edceb00b5b86f825bd957bdac9edb91f893dd.zip opensim-SC_OLD-a11edceb00b5b86f825bd957bdac9edb91f893dd.tar.gz opensim-SC_OLD-a11edceb00b5b86f825bd957bdac9edb91f893dd.tar.bz2 opensim-SC_OLD-a11edceb00b5b86f825bd957bdac9edb91f893dd.tar.xz |
seems to compile ( tests comented out)
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/Caps/EventQueue')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs | 30 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueHelper.cs | 9 |
2 files changed, 1 insertions, 38 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs index 5fb028c..5d50eba 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs | |||
@@ -177,7 +177,6 @@ namespace OpenSim.Region.ClientStack.Linden | |||
177 | } | 177 | } |
178 | 178 | ||
179 | /// <summary> | 179 | /// <summary> |
180 | <<<<<<< HEAD | ||
181 | /// Always returns a valid queue | 180 | /// Always returns a valid queue |
182 | /// </summary> | 181 | /// </summary> |
183 | /// <param name="agentId"></param> | 182 | /// <param name="agentId"></param> |
@@ -201,8 +200,7 @@ namespace OpenSim.Region.ClientStack.Linden | |||
201 | } | 200 | } |
202 | 201 | ||
203 | /// <summary> | 202 | /// <summary> |
204 | ======= | 203 | |
205 | >>>>>>> avn/ubitvar | ||
206 | /// May return a null queue | 204 | /// May return a null queue |
207 | /// </summary> | 205 | /// </summary> |
208 | /// <param name="agentId"></param> | 206 | /// <param name="agentId"></param> |
@@ -290,17 +288,11 @@ namespace OpenSim.Region.ClientStack.Linden | |||
290 | public void OnRegisterCaps(UUID agentID, Caps caps) | 288 | public void OnRegisterCaps(UUID agentID, Caps caps) |
291 | { | 289 | { |
292 | // Register an event queue for the client | 290 | // Register an event queue for the client |
293 | <<<<<<< HEAD | ||
294 | 291 | ||
295 | if (DebugLevel > 0) | 292 | if (DebugLevel > 0) |
296 | m_log.DebugFormat( | 293 | m_log.DebugFormat( |
297 | "[EVENTQUEUE]: OnRegisterCaps: agentID {0} caps {1} region {2}", | 294 | "[EVENTQUEUE]: OnRegisterCaps: agentID {0} caps {1} region {2}", |
298 | agentID, caps, m_scene.RegionInfo.RegionName); | 295 | agentID, caps, m_scene.RegionInfo.RegionName); |
299 | ======= | ||
300 | m_log.DebugFormat( | ||
301 | "[EVENTQUEUE]: OnRegisterCaps: agentID {0} caps {1} region {2}", | ||
302 | agentID, caps, m_scene.RegionInfo.RegionName); | ||
303 | >>>>>>> avn/ubitvar | ||
304 | 296 | ||
305 | UUID eventQueueGetUUID; | 297 | UUID eventQueueGetUUID; |
306 | Queue<OSD> queue; | 298 | Queue<OSD> queue; |
@@ -519,14 +511,9 @@ namespace OpenSim.Region.ClientStack.Linden | |||
519 | 511 | ||
520 | public virtual void EnableSimulator(ulong handle, IPEndPoint endPoint, UUID avatarID, int regionSizeX, int regionSizeY) | 512 | public virtual void EnableSimulator(ulong handle, IPEndPoint endPoint, UUID avatarID, int regionSizeX, int regionSizeY) |
521 | { | 513 | { |
522 | <<<<<<< HEAD | ||
523 | if (DebugLevel > 0) | 514 | if (DebugLevel > 0) |
524 | m_log.DebugFormat("{0} EnableSimulator. handle={1}, endPoint={2}, avatarID={3}", | 515 | m_log.DebugFormat("{0} EnableSimulator. handle={1}, endPoint={2}, avatarID={3}", |
525 | LogHeader, handle, endPoint, avatarID, regionSizeX, regionSizeY); | 516 | LogHeader, handle, endPoint, avatarID, regionSizeX, regionSizeY); |
526 | ======= | ||
527 | m_log.DebugFormat("{0} EnableSimulator. handle={1}, avatarID={2}, regionSize={3},{4}>", | ||
528 | LogHeader, handle, avatarID, regionSizeX, regionSizeY); | ||
529 | >>>>>>> avn/ubitvar | ||
530 | 517 | ||
531 | OSD item = EventQueueHelper.EnableSimulator(handle, endPoint, regionSizeX, regionSizeY); | 518 | OSD item = EventQueueHelper.EnableSimulator(handle, endPoint, regionSizeX, regionSizeY); |
532 | Enqueue(item, avatarID); | 519 | Enqueue(item, avatarID); |
@@ -535,15 +522,10 @@ namespace OpenSim.Region.ClientStack.Linden | |||
535 | public virtual void EstablishAgentCommunication(UUID avatarID, IPEndPoint endPoint, string capsPath, | 522 | public virtual void EstablishAgentCommunication(UUID avatarID, IPEndPoint endPoint, string capsPath, |
536 | ulong regionHandle, int regionSizeX, int regionSizeY) | 523 | ulong regionHandle, int regionSizeX, int regionSizeY) |
537 | { | 524 | { |
538 | <<<<<<< HEAD | ||
539 | if (DebugLevel > 0) | 525 | if (DebugLevel > 0) |
540 | m_log.DebugFormat("{0} EstablishAgentCommunication. handle={1}, endPoint={2}, avatarID={3}", | 526 | m_log.DebugFormat("{0} EstablishAgentCommunication. handle={1}, endPoint={2}, avatarID={3}", |
541 | LogHeader, regionHandle, endPoint, avatarID, regionSizeX, regionSizeY); | 527 | LogHeader, regionHandle, endPoint, avatarID, regionSizeX, regionSizeY); |
542 | 528 | ||
543 | ======= | ||
544 | m_log.DebugFormat("{0} EstablishAgentCommunication. handle={1}, avatarID={2}, regionSize={3},{4}>", | ||
545 | LogHeader, regionHandle, avatarID, regionSizeX, regionSizeY); | ||
546 | >>>>>>> avn/ubitvar | ||
547 | OSD item = EventQueueHelper.EstablishAgentCommunication(avatarID, endPoint.ToString(), capsPath, regionHandle, regionSizeX, regionSizeY); | 529 | OSD item = EventQueueHelper.EstablishAgentCommunication(avatarID, endPoint.ToString(), capsPath, regionHandle, regionSizeX, regionSizeY); |
548 | Enqueue(item, avatarID); | 530 | Enqueue(item, avatarID); |
549 | } | 531 | } |
@@ -553,14 +535,9 @@ namespace OpenSim.Region.ClientStack.Linden | |||
553 | uint locationID, uint flags, string capsURL, | 535 | uint locationID, uint flags, string capsURL, |
554 | UUID avatarID, int regionSizeX, int regionSizeY) | 536 | UUID avatarID, int regionSizeX, int regionSizeY) |
555 | { | 537 | { |
556 | <<<<<<< HEAD | ||
557 | if (DebugLevel > 0) | 538 | if (DebugLevel > 0) |
558 | m_log.DebugFormat("{0} TeleportFinishEvent. handle={1}, endPoint={2}, avatarID={3}", | 539 | m_log.DebugFormat("{0} TeleportFinishEvent. handle={1}, endPoint={2}, avatarID={3}", |
559 | LogHeader, regionHandle, regionExternalEndPoint, avatarID, regionSizeX, regionSizeY); | 540 | LogHeader, regionHandle, regionExternalEndPoint, avatarID, regionSizeX, regionSizeY); |
560 | ======= | ||
561 | m_log.DebugFormat("{0} TeleportFinishEvent. handle={1}, avatarID={2}, regionSize={3},{4}>", | ||
562 | LogHeader, regionHandle, avatarID, regionSizeX, regionSizeY); | ||
563 | >>>>>>> avn/ubitvar | ||
564 | 541 | ||
565 | OSD item = EventQueueHelper.TeleportFinishEvent(regionHandle, simAccess, regionExternalEndPoint, | 542 | OSD item = EventQueueHelper.TeleportFinishEvent(regionHandle, simAccess, regionExternalEndPoint, |
566 | locationID, flags, capsURL, avatarID, regionSizeX, regionSizeY); | 543 | locationID, flags, capsURL, avatarID, regionSizeX, regionSizeY); |
@@ -571,14 +548,9 @@ namespace OpenSim.Region.ClientStack.Linden | |||
571 | IPEndPoint newRegionExternalEndPoint, | 548 | IPEndPoint newRegionExternalEndPoint, |
572 | string capsURL, UUID avatarID, UUID sessionID, int regionSizeX, int regionSizeY) | 549 | string capsURL, UUID avatarID, UUID sessionID, int regionSizeX, int regionSizeY) |
573 | { | 550 | { |
574 | <<<<<<< HEAD | ||
575 | if (DebugLevel > 0) | 551 | if (DebugLevel > 0) |
576 | m_log.DebugFormat("{0} CrossRegion. handle={1}, avatarID={2}, regionSize={3},{4}>", | 552 | m_log.DebugFormat("{0} CrossRegion. handle={1}, avatarID={2}, regionSize={3},{4}>", |
577 | LogHeader, handle, avatarID, regionSizeX, regionSizeY); | 553 | LogHeader, handle, avatarID, regionSizeX, regionSizeY); |
578 | ======= | ||
579 | m_log.DebugFormat("{0} CrossRegion. handle={1}, avatarID={2}, regionSize={3},{4}>", | ||
580 | LogHeader, handle, avatarID, regionSizeX, regionSizeY); | ||
581 | >>>>>>> avn/ubitvar | ||
582 | 554 | ||
583 | OSD item = EventQueueHelper.CrossRegion(handle, pos, lookAt, newRegionExternalEndPoint, | 555 | OSD item = EventQueueHelper.CrossRegion(handle, pos, lookAt, newRegionExternalEndPoint, |
584 | capsURL, avatarID, sessionID, regionSizeX, regionSizeY); | 556 | capsURL, avatarID, sessionID, regionSizeX, regionSizeY); |
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueHelper.cs b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueHelper.cs index 8b7e4c1..50e22f5 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueHelper.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueHelper.cs | |||
@@ -77,13 +77,8 @@ namespace OpenSim.Region.ClientStack.Linden | |||
77 | llsdSimInfo.Add("Handle", new OSDBinary(ulongToByteArray(handle))); | 77 | llsdSimInfo.Add("Handle", new OSDBinary(ulongToByteArray(handle))); |
78 | llsdSimInfo.Add("IP", new OSDBinary(endPoint.Address.GetAddressBytes())); | 78 | llsdSimInfo.Add("IP", new OSDBinary(endPoint.Address.GetAddressBytes())); |
79 | llsdSimInfo.Add("Port", new OSDInteger(endPoint.Port)); | 79 | llsdSimInfo.Add("Port", new OSDInteger(endPoint.Port)); |
80 | <<<<<<< HEAD | ||
81 | llsdSimInfo.Add("RegionSizeX", OSD.FromUInteger((uint) regionSizeX)); | ||
82 | llsdSimInfo.Add("RegionSizeY", OSD.FromUInteger((uint) regionSizeY)); | ||
83 | ======= | ||
84 | llsdSimInfo.Add("RegionSizeX", OSD.FromUInteger((uint)regionSizeX)); | 80 | llsdSimInfo.Add("RegionSizeX", OSD.FromUInteger((uint)regionSizeX)); |
85 | llsdSimInfo.Add("RegionSizeY", OSD.FromUInteger((uint)regionSizeY)); | 81 | llsdSimInfo.Add("RegionSizeY", OSD.FromUInteger((uint)regionSizeY)); |
86 | >>>>>>> avn/ubitvar | ||
87 | 82 | ||
88 | OSDArray arr = new OSDArray(1); | 83 | OSDArray arr = new OSDArray(1); |
89 | arr.Add(llsdSimInfo); | 84 | arr.Add(llsdSimInfo); |
@@ -176,12 +171,8 @@ namespace OpenSim.Region.ClientStack.Linden | |||
176 | info.Add("SimAccess", OSD.FromInteger(simAccess)); | 171 | info.Add("SimAccess", OSD.FromInteger(simAccess)); |
177 | info.Add("SimIP", OSD.FromBinary(regionExternalEndPoint.Address.GetAddressBytes())); | 172 | info.Add("SimIP", OSD.FromBinary(regionExternalEndPoint.Address.GetAddressBytes())); |
178 | info.Add("SimPort", OSD.FromInteger(regionExternalEndPoint.Port)); | 173 | info.Add("SimPort", OSD.FromInteger(regionExternalEndPoint.Port)); |
179 | <<<<<<< HEAD | ||
180 | info.Add("TeleportFlags", OSD.FromULong(1L << 4)); // AgentManager.TeleportFlags.ViaLocation | ||
181 | ======= | ||
182 | // info.Add("TeleportFlags", OSD.FromULong(1L << 4)); // AgentManager.TeleportFlags.ViaLocation | 174 | // info.Add("TeleportFlags", OSD.FromULong(1L << 4)); // AgentManager.TeleportFlags.ViaLocation |
183 | info.Add("TeleportFlags", OSD.FromUInteger(flags)); | 175 | info.Add("TeleportFlags", OSD.FromUInteger(flags)); |
184 | >>>>>>> avn/ubitvar | ||
185 | info.Add("RegionSizeX", OSD.FromUInteger((uint)regionSizeX)); | 176 | info.Add("RegionSizeX", OSD.FromUInteger((uint)regionSizeX)); |
186 | info.Add("RegionSizeY", OSD.FromUInteger((uint)regionSizeY)); | 177 | info.Add("RegionSizeY", OSD.FromUInteger((uint)regionSizeY)); |
187 | 178 | ||