Home | Trees | Index | Help |
---|
Package twisted :: Package protocols :: Module htb :: Class ShapedTransport |
|
BasicProducerConsumerProxy
--+ |ProducerConsumerProxy
--+ |ShapedConsumer
--+ | ShapedTransport
I wrap a Transport and shape the rate at which it receives data.
I am aShapedConsumer
with a little bit of magic
to provide for the case where the consumer I wrap is also a Transport and
people will be attempting to access attributes I do not proxy as a
Consumer (e.g. loseConnection).
Method Summary | |
---|---|
__init__(self,
consumer,
bucket)
(inherited from ShapedConsumer )
| |
__getattr__(self,
name)
| |
__repr__(self)
(inherited from BasicProducerConsumerProxy )
| |
finish(self)
(inherited from BasicProducerConsumerProxy )
| |
pauseProducing(self)
(inherited from ProducerConsumerProxy )
| |
registerProducer(self,
producer,
streaming)
(inherited from ProducerConsumerProxy )
| |
resumeProducing(self)
(inherited from ProducerConsumerProxy )
| |
stopProducing(self)
(inherited from ShapedConsumer )
| |
unregisterProducer(self)
(inherited from ProducerConsumerProxy )
| |
write(self,
data)
(inherited from ProducerConsumerProxy )
| |
Write as much of this data as possible. (inherited from ShapedConsumer )
|
Class Variable Summary | |
---|---|
int |
iAmStreaming
|
Class Variable Details |
---|
iAmStreaming
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Fri Jun 27 03:48:28 2003 | http://epydoc.sf.net |