| Home | Trees | Index | Help |
|
|---|
| Package twisted :: Package protocols :: Module htb :: Class HierarchicalBucketFilter |
|
FilterByHost,
FilterByServer| Method Summary | |
|---|---|
__init__(self,
parentFilter)
| |
Bucket
|
You want a bucket for that? I'll give you a bucket. |
I determine who gets which bucket. | |
I throw away references to empty buckets. | |
| Class Variable Summary | |
|---|---|
tuple |
__implements__ = (<class twisted.protocols.htb.IBucketFi...
|
Bucket class |
bucketFactory = twisted.protocols.htb.Bucket |
| int | sweepInterval: Seconds between sweeping out the bucket cache. |
| Method Details |
|---|
getBucketFor(self, *a, **kw)You want a bucket for that? I'll give you a bucket. Any parameters are passed on togetBucketKey, from them it decides which
bucket you get.
|
getBucketKey(self, *a, **kw)I determine who gets which bucket. Unless I'm overridden, everything gets the same bucket.
|
sweep(self)I throw away references to empty buckets. |
| Class Variable Details |
|---|
__implements__
|
sweepIntervalSeconds between sweeping out the bucket cache.
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.0 on Sat May 15 20:08:34 2004 | http://epydoc.sf.net |