t.p.h.ShapedTransport(ShapedConsumer) : class documentation

Part of twisted.protocols.htb View Source View In Hierarchy

I wrap a Transport and shape the rate at which it receives data.

I am a ShapedConsumer 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 __getattr__ Undocumented

Inherited from ShapedConsumer:

Method __init__ Undocumented
Method stopProducing Stop producing data.
Method _writeSomeData Write as much of this data as possible.

Inherited from ProducerConsumerProxy (via ShapedConsumer):

Method pauseProducing Undocumented
Method resumeProducing Undocumented
Method write The producer will write data by calling this method.
Method registerProducer Register to receive data from a producer.
Method unregisterProducer Stop consuming data from a producer, without disconnecting.

Inherited from BasicProducerConsumerProxy (via ShapedConsumer, ProducerConsumerProxy):

Method finish Undocumented
Method __repr__ Undocumented
def __getattr__(self, name): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:27:37.