twisted.protocols.htb.FilterByServer(HierarchicalBucketFilter) class documentationtwisted.protocols.htb
View Source
(View In Hierarchy)
A Hierarchical Bucket filter with a Bucket for each
service.
| Method | getBucketKey | Construct a key based on the input parameters to choose a Bucket. |
Inherited from HierarchicalBucketFilter:
| Class Variable | bucketFactory | Class of buckets to make. (type: Bucket) |
| Class Variable | sweepInterval | Seconds between sweeping out the bucket cache. (type: int) |
| Method | __init__ | Undocumented |
| Method | getBucketFor | Find or create a Bucket
corresponding to the provided parameters. |
| Method | sweep | Remove empty buckets. |