#NEWLINE# def XMPPClientFactory( jid , password ) : #NEWLINE# #INDENT# '\n    Client factory for XMPP 1.0 (only).\n\n    This returns a L{xmlstream.XmlStreamFactory} with an L{XMPPAuthenticator}\n    object to perform the stream initialization steps (such as authentication).\n\n    @see: The notes at L{XMPPAuthenticator} describe how the L{jid} and\n    L{password} parameters are to be used.\n\n    @param jid: Jabber ID to connect with.\n    @type jid: L{jid.JID}\n    @param password: password to authenticate with.\n    @type password: C{unicode}\n    @return: XML stream factory.\n    @rtype: L{xmlstream.XmlStreamFactory}\n    ' #NEWLINE# a = XMPPAuthenticator ( jid , password ) #NEWLINE# return xmlstream . XmlStreamFactory ( a )