'Testing implementation.
@param uri: A L{URI}.
@return: C{(scheme, host, port)} of passed in URI; violation of
interface but useful for testing.
@rtype: L{tuple}'

def endpointForURI(self, uri):

    return (uri.scheme, uri.host, uri.port)
