Part of twisted.protocols.htb View Source View In Hierarchy
Known subclasses: twisted.protocols.htb.FilterByHost, twisted.protocols.htb.FilterByServer
Implements interfaces: twisted.protocols.htb.IBucketFilter
Class Variable | bucketFactory | Class of buckets to make. (type: Bucket class) |
Class Variable | sweepInterval | Seconds between sweeping out the bucket cache. (type: int) |
Method | __init__ | Undocumented |
Method | getBucketFor | You want a bucket for that? I'll give you a bucket. |
Method | getBucketKey | I determine who gets which bucket. |
Method | sweep | I throw away references to empty buckets. |
Any parameters are passed on to getBucketKey
,
from them it decides which bucket you get.
Returns | (type: Bucket ) |
Unless I'm overridden, everything gets the same bucket.
Returns | something to be used as a key in the bucket cache. |