'From abstract.FileDescriptor'

def registerProducer(self, producer, streaming):

    self.producer = producer
    self.streamingProducer = streaming
    if (not streaming):
        producer.resumeProducing()
