Package twisted :: Package protocols :: Module htb
[show private | hide private]
[frames | no frames]

Module twisted.protocols.htb

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
Classes
Bucket Token bucket, or something like it.
FilterByHost A bucket filter with a bucket for each host.
FilterByServer A bucket filter with a bucket for each service.
HierarchicalBucketFilter I filter things into buckets, and I am nestable.
IBucketFilter  
ShapedConsumer I wrap a Consumer and shape the rate at which it receives data.
ShapedProtocolFactory I dispense Protocols with traffic shaping on their transports.
ShapedTransport I wrap a Transport and shape the rate at which it receives data.

Variable Summary
str __version__
_Feature nested_scopes

Variable Details

__version__

Type:
str
Value:
'1.4'                                                                  

nested_scopes

Type:
_Feature
Value:
_Feature((2, 1, 0, 'beta', 1), (2, 2, 0, 'alpha', 0), 16)              

Generated by Epydoc 1.1 on Fri Jun 27 03:48:28 2003 http://epydoc.sf.net