Home | Trees | Index | Help |
|
---|
Package twisted :: Package protocols :: Module htb :: Class ShapedProtocolFactory |
|
I dispense Protocols with traffic shaping on their transports.
Usage:myserver = SomeFactory() myserver.protocol = ShapedProtocolFactory(myserver.protocol, bucketFilter)Where SomeServerFactory is a
twisted.internet.protocol.Factory
, and
bucketFilter is an instance of HierarchicalBucketFilter
.
Method Summary | |
---|---|
Tell me what to wrap and where to get buckets. | |
Make a Protocol instance with a shaped transport. |
Method Details |
---|
__init__(self,
protoClass,
bucketFilter)
Tell me what to wrap and where to get buckets.
|
__call__(self,
*a,
**kw)
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat May 15 20:08:30 2004 | http://epydoc.sf.net |