t.p.h.FilterByHost(HierarchicalBucketFilter) : class documentation

Part of twisted.protocols.htb View Source View In Hierarchy

A bucket filter with a bucket for each host.
Method getBucketKey I determine who gets which bucket.

Inherited from HierarchicalBucketFilter:

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 sweep I throw away references to empty buckets.
def getBucketKey(self, transport): (source)
I determine who gets which bucket.

Unless I'm overridden, everything gets the same bucket.

Returnssomething to be used as a key in the bucket cache.
API Documentation for Twisted, generated by pydoctor at 2012-06-04 17:20:01.