Part of twisted.protocols View Source
Hierarchical Token Bucket traffic shaping.
Patterned after Martin Devera's Hierarchical Token Bucket traffic shaper for the Linux kernel.Author | Kevin Turner | |
See Also | HTB Linux queuing discipline manual - user guide | |
Token Bucket Filter in Linux Advanced Routing & Traffic Control HOWTO |
Class | Bucket | Token bucket, or something like it. |
Interface | IBucketFilter | No interface docstring; 1/1 methods documented |
Class | HierarchicalBucketFilter | I filter things into buckets, and I am nestable. |
Class | FilterByHost | A bucket filter with a bucket for each host. |
Class | FilterByServer | A bucket filter with a bucket for each service. |
Class | ShapedConsumer | I wrap a Consumer and shape the rate at which it receives data. |
Class | ShapedTransport | I wrap a Transport and shape the rate at which it receives data. |
Class | ShapedProtocolFactory | I dispense Protocols with traffic shaping on their transports. |