twisted.protocols.htb.ShapedTransport(ShapedConsumer)
class documentationtwisted.protocols.htb
View Source
(View In Hierarchy)
Wraps a Transport
and shapes the rate at which it receives
data.
This is a ShapedConsumer
with a little bit of magic to provide for the case where the consumer it
wraps is also a Transport
and people will be attempting to
access attributes this does not proxy as a Consumer
(e.g.
loseConnection
).
Method | __getattr__ | Undocumented |
Inherited from BasicProducerConsumerProxy (via ShapedConsumer, ProducerConsumerProxy):
Instance Variable | producer | the Producer I subscribe to. (type: IProducer ) |
Instance Variable | consumer | the Consumer I publish to. (type: IConsumer ) |
Instance Variable | paused | As a Producer, am I paused? (type: bool) |
Method | finish | Undocumented |
Method | __repr__ | Undocumented |
Inherited from BasicProducerConsumerProxy (via ShapedConsumer, ProducerConsumerProxy):
Instance Variable | producer | the Producer I subscribe to. (type: IProducer ) |
Instance Variable | consumer | the Consumer I publish to. (type: IConsumer ) |
Instance Variable | paused | As a Producer, am I paused? (type: bool) |
Method | finish | Undocumented |
Method | __repr__ | Undocumented |
Inherited from BasicProducerConsumerProxy (via ShapedConsumer, ProducerConsumerProxy):
Instance Variable | producer | the Producer I subscribe to. (type: IProducer ) |
Instance Variable | consumer | the Consumer I publish to. (type: IConsumer ) |
Instance Variable | paused | As a Producer, am I paused? (type: bool) |
Method | finish | Undocumented |
Method | __repr__ | Undocumented |