twisted.test.test_htb.SomeBucket(htb.Bucket) class documentationtwisted.test.test_htb
          
          (View In Hierarchy)
        
      Inherited from Bucket:
| Class Variable | maxburst | The maximum number of tokens that the bucket can hold at any given time. If
this is None,
the bucket has an infinite size. (type:int) | 
| Class Variable | rate | The rate at which the bucket drains, in number of tokens per second. If the
rate is None,
the bucket drains instantaneously. (type:int) | 
| Method | __init__ | Create a Bucketthat may 
have a parentBucket. | 
| Method | add | Adds tokens to the Bucketand itsparentBucket. | 
| Method | drip | Let some of the bucket drain. |