aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/ThrottleRates.cs
diff options
context:
space:
mode:
authorJohn Hurliman2009-10-06 12:13:16 -0700
committerJohn Hurliman2009-10-06 12:13:16 -0700
commit61b537215328499155c58f46e6338d459aba87ec (patch)
treed410fa5de01aeeacc6c66c23a886a2ae3e5248cc /OpenSim/Region/ClientStack/LindenUDP/ThrottleRates.cs
parent* Try/catch around EndInvoke() when Util.FireAndForget() returns to catch exc... (diff)
downloadopensim-SC_OLD-61b537215328499155c58f46e6338d459aba87ec.zip
opensim-SC_OLD-61b537215328499155c58f46e6338d459aba87ec.tar.gz
opensim-SC_OLD-61b537215328499155c58f46e6338d459aba87ec.tar.bz2
opensim-SC_OLD-61b537215328499155c58f46e6338d459aba87ec.tar.xz
* Added missing references to prebuild.xml and commented out the LindenUDP tests until a new test harness is written
* Clients are no longer disconnected when a packet handler crashes. We'll see how this works out in practice * Added documentation and cleanup, getting ready for the first public push * Deleted an old LLUDP file
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/ThrottleRates.cs')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/ThrottleRates.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/ThrottleRates.cs b/OpenSim/Region/ClientStack/LindenUDP/ThrottleRates.cs
index ffa20d5..858a03c 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/ThrottleRates.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/ThrottleRates.cs
@@ -30,24 +30,47 @@ using Nini.Config;
30 30
31namespace OpenSim.Region.ClientStack.LindenUDP 31namespace OpenSim.Region.ClientStack.LindenUDP
32{ 32{
33 /// <summary>
34 /// Holds drip rates and maximum burst rates for throttling with hierarchical
35 /// token buckets. The maximum burst rates set here are hard limits and can
36 /// not be overridden by client requests
37 /// </summary>
33 public sealed class ThrottleRates 38 public sealed class ThrottleRates
34 { 39 {
40 /// <summary>Drip rate for resent packets</summary>
35 public int Resend; 41 public int Resend;
42 /// <summary>Drip rate for terrain packets</summary>
36 public int Land; 43 public int Land;
44 /// <summary>Drip rate for wind packets</summary>
37 public int Wind; 45 public int Wind;
46 /// <summary>Drip rate for cloud packets</summary>
38 public int Cloud; 47 public int Cloud;
48 /// <summary>Drip rate for task (state and transaction) packets</summary>
39 public int Task; 49 public int Task;
50 /// <summary>Drip rate for texture packets</summary>
40 public int Texture; 51 public int Texture;
52 /// <summary>Drip rate for asset packets</summary>
41 public int Asset; 53 public int Asset;
42 54
55 /// <summary>Maximum burst rate for resent packets</summary>
43 public int ResendLimit; 56 public int ResendLimit;
57 /// <summary>Maximum burst rate for land packets</summary>
44 public int LandLimit; 58 public int LandLimit;
59 /// <summary>Maximum burst rate for wind packets</summary>
45 public int WindLimit; 60 public int WindLimit;
61 /// <summary>Maximum burst rate for cloud packets</summary>
46 public int CloudLimit; 62 public int CloudLimit;
63 /// <summary>Maximum burst rate for task (state and transaction) packets</summary>
47 public int TaskLimit; 64 public int TaskLimit;
65 /// <summary>Maximum burst rate for texture packets</summary>
48 public int TextureLimit; 66 public int TextureLimit;
67 /// <summary>Maximum burst rate for asset packets</summary>
49 public int AssetLimit; 68 public int AssetLimit;
50 69
70 /// <summary>
71 /// Default constructor
72 /// </summary>
73 /// <param name="config">Config source to load defaults from</param>
51 public ThrottleRates(IConfigSource config) 74 public ThrottleRates(IConfigSource config)
52 { 75 {
53 try 76 try