class twisted.protocols.htb.FilterByHost(HierarchicalBucketFilter): (source)
A Hierarchical Bucket filter with a Bucket for each host.
| Class Variable | sweepInterval | Undocumented |
| 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. |
| Method | __init__ | Undocumented |
| Instance Variable | buckets | Undocumented |
| Instance Variable | parentFilter | Undocumented |
| Instance Variable | lastSweep | Undocumented |
| Method | getBucketFor | Find or create a Bucket corresponding to the provided parameters. |
| Method | sweep | Remove empty buckets. |