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:

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 2011-10-27 16:27:37.