def buildProtocol(self, addr):
        t = protocol.Factory.buildProtocol(self, addr)
        t.supportedPublicKeys = self.privateKeys.keys()
        if not self.primes:
            log.msg('disabling diffie-hellman-group-exchange because we '
                    'cannot find moduli file')
            ske = t.supportedKeyExchanges[:]
            ske.remove('diffie-hellman-group-exchange-sha1')
            t.supportedKeyExchanges = ske
        return t
Get an epoch iterator for the wrapped data set.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/conch/ssh/factory.py/SSHFactory.buildProtocol--crossover with--dataset/ETHPy150Open mila-udem/fuel/fuel/transformers/__init__.py/Transformer.get_epoch_iterator