'Wrapper around the appropriate listen method of the reactor.
@return: the port object returned by the listen method.
@rtype: an object providing
L{twisted.internet.interfaces.IListeningPort}.'

def _getPort(self):

    return getattr(_maybeGlobalReactor(self.reactor), ('listen%s' % (self.method,)))(*self.args, **self.kwargs)
