def registerProducer(self, producer, streaming):
        self.producer = producer
        self.streamingProducer = streaming
        if not streaming:
            producer.resumeProducing()
From abstract.FileDescriptor
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/iosim.py/FakeTransport.registerProducer