Package twisted :: Package internet :: Module interfaces :: Class IPullProducer
[show private | hide private]
[frames | no frames]

Class IPullProducer

NonMetaInterface --+    
                   |    
           IProducer --+
                       |
                      IPullProducer


A pull producer, also known as a non-streaming producer, is expected to produce data each time resumeProducing() is called.

This interface is semi-stable.
Method Summary
  resumeProducing(self)
Produce data for the consumer a single time.
  stopProducing(self)
Stop producing data. (inherited from IProducer)

Method Details

resumeProducing(self)

Produce data for the consumer a single time.

This tells a producer to produce data for the consumer once (not repeatedly, once only). Typically this will be done by calling the consumer's write() method a single time with produced data.

Generated by Epydoc 1.1 on Fri Jun 27 03:48:10 2003 http://epydoc.sf.net