def getService(self, transport, service):
        if service == 'ssh-userauth' or hasattr(transport, 'avatar'):
            return self.services[service]
Return a class to use as a service for the given transport.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/conch/ssh/factory.py/SSHFactory.getService