def registerProducer(self, producer, streaming):
self.producer = producer<EOL>self.streamingProducer = streaming<EOL>if not streaming:<EOL><INDENT>producer.resumeProducing()<EOL><DEDENT>
From abstract.FileDescriptor