diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index cd438d6..51ec3a8 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -395,6 +395,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
395 | public bool IsGroupMember(UUID groupID) { return m_groupPowers.ContainsKey(groupID); } | 395 | public bool IsGroupMember(UUID groupID) { return m_groupPowers.ContainsKey(groupID); } |
396 | 396 | ||
397 | /// <summary> | 397 | /// <summary> |
398 | /// Entity update queues | ||
399 | /// </summary> | ||
400 | public PriorityQueue EntityUpdateQueue { get { return m_entityUpdates; } } | ||
401 | |||
402 | /// <summary> | ||
398 | /// First name of the agent/avatar represented by the client | 403 | /// First name of the agent/avatar represented by the client |
399 | /// </summary> | 404 | /// </summary> |
400 | public string FirstName { get { return m_firstName; } } | 405 | public string FirstName { get { return m_firstName; } } |
@@ -3625,7 +3630,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
3625 | // Remove the update packet from the list of packets waiting for acknowledgement | 3630 | // Remove the update packet from the list of packets waiting for acknowledgement |
3626 | // because we are requeuing the list of updates. They will be resent in new packets | 3631 | // because we are requeuing the list of updates. They will be resent in new packets |
3627 | // with the most recent state and priority. | 3632 | // with the most recent state and priority. |
3628 | m_udpClient.NeedAcks.Remove(oPacket.SequenceNumber, 0, true); | 3633 | m_udpClient.NeedAcks.Remove(oPacket.SequenceNumber); |
3634 | |||
3635 | // Count this as a resent packet since we are going to requeue all of the updates contained in it | ||
3636 | Interlocked.Increment(ref m_udpClient.PacketsResent); | ||
3637 | |||
3629 | foreach (EntityUpdate update in updates) | 3638 | foreach (EntityUpdate update in updates) |
3630 | ResendPrimUpdate(update); | 3639 | ResendPrimUpdate(update); |
3631 | } | 3640 | } |
@@ -4092,7 +4101,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
4092 | // Remove the update packet from the list of packets waiting for acknowledgement | 4101 | // Remove the update packet from the list of packets waiting for acknowledgement |
4093 | // because we are requeuing the list of updates. They will be resent in new packets | 4102 | // because we are requeuing the list of updates. They will be resent in new packets |
4094 | // with the most recent state. | 4103 | // with the most recent state. |
4095 | m_udpClient.NeedAcks.Remove(oPacket.SequenceNumber, 0, true); | 4104 | m_udpClient.NeedAcks.Remove(oPacket.SequenceNumber); |
4105 | |||
4106 | // Count this as a resent packet since we are going to requeue all of the updates contained in it | ||
4107 | Interlocked.Increment(ref m_udpClient.PacketsResent); | ||
4108 | |||
4096 | foreach (ObjectPropertyUpdate update in updates) | 4109 | foreach (ObjectPropertyUpdate update in updates) |
4097 | ResendPropertyUpdate(update); | 4110 | ResendPropertyUpdate(update); |
4098 | } | 4111 | } |
@@ -11513,7 +11526,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
11513 | /// <returns></returns> | 11526 | /// <returns></returns> |
11514 | public byte[] GetThrottlesPacked(float multiplier) | 11527 | public byte[] GetThrottlesPacked(float multiplier) |
11515 | { | 11528 | { |
11516 | return m_udpClient.GetThrottlesPacked(); | 11529 | return m_udpClient.GetThrottlesPacked(multiplier); |
11517 | } | 11530 | } |
11518 | 11531 | ||
11519 | /// <summary> | 11532 | /// <summary> |