Current File : //lib/python3/dist-packages/twisted/words/protocols/jabber/__pycache__/client.cpython-312.pyc |
�
Ϫ�f7 � � � d dl mZmZmZ d dlmZ d dlmZmZm Z dZ
dZdZdZ
e j d� Z e j d � Zd
� Z G d� dej$ � Z G d
� d� Z G d� dej* � Z G d� d� Z G d� dej0 � Z G d� dej0 � Zdd�Z G d� dej* � Zy)� )�error�sasl� xmlstream)�JID)�domish�utility�xpathz#urn:ietf:params:xml:ns:xmpp-streamsz urn:ietf:params:xml:ns:xmpp-bindz#urn:ietf:params:xml:ns:xmpp-sessionz"http://jabber.org/features/iq-authz/iq/query/digestz/iq/query/passwordc �D � t | |� }t j |� S �N)�BasicAuthenticatorr �XmlStreamFactory)�jid�secret�as �G/usr/lib/python3/dist-packages/twisted/words/protocols/jabber/client.py�basicClientFactoryr s � ��3��'�A��%�%�a�(�(� c �, � e Zd ZdZdd�Zd� Zdd�Zd� Zy) �IQa�
Wrapper for a Info/Query packet.
This provides the necessary functionality to send IQs and get notified when
a result comes back. It's a subclass from L{domish.Element}, so you can use
the standard DOM manipulation calls to add data to the outbound request.
@type callbacks: L{utility.CallbackList}
@cvar callbacks: Callback list to be notified when response comes back
c � � t j j | d� | j � || d<