aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/PacketQueue.cs
diff options
context:
space:
mode:
authorJeff Ames2007-12-04 21:44:10 +0000
committerJeff Ames2007-12-04 21:44:10 +0000
commit54c070608e66aca34c022b7be0f049262d3fdcd0 (patch)
tree54fa25c1983486b39b09821f8c4aa9fba6904515 /OpenSim/Region/ClientStack/PacketQueue.cs
parentminor refactor so that I can now grok what happens for outgoing packets (diff)
downloadopensim-SC_OLD-54c070608e66aca34c022b7be0f049262d3fdcd0.zip
opensim-SC_OLD-54c070608e66aca34c022b7be0f049262d3fdcd0.tar.gz
opensim-SC_OLD-54c070608e66aca34c022b7be0f049262d3fdcd0.tar.bz2
opensim-SC_OLD-54c070608e66aca34c022b7be0f049262d3fdcd0.tar.xz
made log messages for known unhandled packet types shorter and yellower. added handler stubs.
Diffstat (limited to 'OpenSim/Region/ClientStack/PacketQueue.cs')
-rw-r--r--OpenSim/Region/ClientStack/PacketQueue.cs10
1 files changed, 1 insertions, 9 deletions
diff --git a/OpenSim/Region/ClientStack/PacketQueue.cs b/OpenSim/Region/ClientStack/PacketQueue.cs
index 270af48..7991c7d 100644
--- a/OpenSim/Region/ClientStack/PacketQueue.cs
+++ b/OpenSim/Region/ClientStack/PacketQueue.cs
@@ -216,9 +216,7 @@ namespace OpenSim.Region.ClientStack
216 TotalThrottle.Add(qpack.Packet.ToBytes().Length); 216 TotalThrottle.Add(qpack.Packet.ToBytes().Length);
217 AssetThrottle.Add(qpack.Packet.ToBytes().Length); 217 AssetThrottle.Add(qpack.Packet.ToBytes().Length);
218 } 218 }
219
220 } 219 }
221
222 } 220 }
223 221
224 private void ThrottleCheck(ref PacketThrottle throttle, ref Queue<QueItem> q, QueItem item) 222 private void ThrottleCheck(ref PacketThrottle throttle, ref Queue<QueItem> q, QueItem item)
@@ -273,7 +271,6 @@ namespace OpenSim.Region.ClientStack
273 SendQueue.Enqueue(item); 271 SendQueue.Enqueue(item);
274 break; 272 break;
275 } 273 }
276
277 } 274 }
278 275
279 private int ScaleThrottle(int value, int curmax, int newmax) 276 private int ScaleThrottle(int value, int curmax, int newmax)
@@ -283,9 +280,6 @@ namespace OpenSim.Region.ClientStack
283 280
284 public void SetThrottleFromClient(Packet Pack) 281 public void SetThrottleFromClient(Packet Pack)
285 { 282 {
286
287 //OpenSim.Framework.Console.MainLog.Instance.Verbose("CLIENT", "unhandled packet " + Pack.ToString());
288
289 AgentThrottlePacket atpack = (AgentThrottlePacket)Pack; 283 AgentThrottlePacket atpack = (AgentThrottlePacket)Pack;
290 284
291 byte[] throttle = atpack.Throttle.Throttles; 285 byte[] throttle = atpack.Throttle.Throttles;
@@ -381,8 +375,6 @@ namespace OpenSim.Region.ClientStack
381 } 375 }
382 // effectively wiggling the slider causes things reset 376 // effectively wiggling the slider causes things reset
383 ResetCounters(); 377 ResetCounters();
384
385 } 378 }
386
387 } 379 }
388} \ No newline at end of file 380}