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

def _getConnection(self):

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