class documentation

class StrictPushProducer: (source)

Implements interfaces: twisted.internet.interfaces.IPushProducer

View In Hierarchy

An IPushProducer implementation which produces nothing but enforces preconditions on its state transition methods.

Method pauseProducing Pause producing data.
Method resumeProducing Resume producing data.
Method stopProducing Stop producing data.
Instance Variable _state Undocumented
def pauseProducing(self): (source)

Pause producing data.

Tells a producer that it has produced too much data to process for the time being, and to stop until resumeProducing() is called.

def resumeProducing(self): (source)

Resume producing data.

This tells a producer to re-add itself to the main loop and produce more data for its consumer.

def stopProducing(self): (source)

Stop producing data.

This tells a producer that its consumer has died, so it must stop producing data for good.

Undocumented