class documentation
class ReentrantProducer(DummyProducer): (source)
Similar to DummyProducer
, but with a resumeProducing method which calls back into an IConsumer
method of the consumer against which it is registered.
Method | __init__ |
Undocumented |
Method | resume |
Undocumented |
Instance Variable | consumer |
The consumer with which this producer has been or will be registered. |
Instance Variable | method |
The arguments to pass to the consumer method invoked in resumeProducing. |
Instance Variable | method |
The name of the method to call on the consumer inside resumeProducing. |
Inherited from DummyProducer
:
Method | pause |
Undocumented |
Method | stop |
Undocumented |
Instance Variable | events |
The producer/consumer related events which have happened to this producer. Strings in this list may be 'resume', 'stop', or 'pause'. Elements are added as they occur. |