def _getPort(self):
        return getattr(_maybeGlobalReactor(self.reactor),
                       'listen%s' % (self.method,))(*self.args, **self.kwargs)
Wrapper around the appropriate listen method of the reactor.
dataset/ETHPy150Open twisted/twisted/twisted/application/internet.py/_AbstractServer._getPort