Part of twisted.protocols.htb View Source View In Hierarchy
Known subclasses: twisted.protocols.htb.ShapedTransport
Consumerand shapes the rate at which it receives data.
|Method||stopProducing||Stop producing data.|
|Method||_writeSomeData||Write as much of this data as possible.|
Inherited from ProducerConsumerProxy:
|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.|
|Instance Variable||producer||the Producer I subscribe to. (type:
|Instance Variable||consumer||the Consumer I publish to. (type:
|Instance Variable||paused||As a Producer, am I paused? (type: bool)|
|Returns||The number of bytes written.|
This tells a producer that its consumer has died, so it must stop producing data for good.