aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/PacketQueue.cs
diff options
context:
space:
mode:
authorlbsa712007-12-15 12:19:29 +0000
committerlbsa712007-12-15 12:19:29 +0000
commit653a41fa03765727e3b48d4862547ea02ac4f9ee (patch)
tree50e235e7b67ece210e6f3e52151b14680a6779c7 /OpenSim/Region/ClientStack/PacketQueue.cs
parent* Added an Avatar control tweak that disables the PID controller in certain c... (diff)
downloadopensim-SC-653a41fa03765727e3b48d4862547ea02ac4f9ee.zip
opensim-SC-653a41fa03765727e3b48d4862547ea02ac4f9ee.tar.gz
opensim-SC-653a41fa03765727e3b48d4862547ea02ac4f9ee.tar.bz2
opensim-SC-653a41fa03765727e3b48d4862547ea02ac4f9ee.tar.xz
* some work on not storing the circuitPack (bad thing if we're going to reuse packets)
* some work on encapsulation, code convention compliance and beautification. * also, some ignores
Diffstat (limited to 'OpenSim/Region/ClientStack/PacketQueue.cs')
-rw-r--r--OpenSim/Region/ClientStack/PacketQueue.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/PacketQueue.cs b/OpenSim/Region/ClientStack/PacketQueue.cs
index b1a649c..4c9295e 100644
--- a/OpenSim/Region/ClientStack/PacketQueue.cs
+++ b/OpenSim/Region/ClientStack/PacketQueue.cs
@@ -177,7 +177,7 @@ namespace OpenSim.Region.ClientStack
177 lock(this) { 177 lock(this) {
178 while (PacketsWaiting()) 178 while (PacketsWaiting())
179 { 179 {
180 //Now comes the fun part.. we dump all our elements into PacketQueue that we've saved up. 180 //Now comes the fun part.. we dump all our elements into m_packetQueue that we've saved up.
181 if (ResendOutgoingPacketQueue.Count > 0) 181 if (ResendOutgoingPacketQueue.Count > 0)
182 { 182 {
183 SendQueue.Enqueue(ResendOutgoingPacketQueue.Dequeue()); 183 SendQueue.Enqueue(ResendOutgoingPacketQueue.Dequeue());
@@ -261,7 +261,7 @@ namespace OpenSim.Region.ClientStack
261 (throttleLoops <= MaxThrottleLoops)) 261 (throttleLoops <= MaxThrottleLoops))
262 { 262 {
263 throttleLoops++; 263 throttleLoops++;
264 //Now comes the fun part.. we dump all our elements into PacketQueue that we've saved up. 264 //Now comes the fun part.. we dump all our elements into m_packetQueue that we've saved up.
265 if (ResendThrottle.UnderLimit() && ResendOutgoingPacketQueue.Count > 0) 265 if (ResendThrottle.UnderLimit() && ResendOutgoingPacketQueue.Count > 0)
266 { 266 {
267 QueItem qpack = ResendOutgoingPacketQueue.Dequeue(); 267 QueItem qpack = ResendOutgoingPacketQueue.Dequeue();