%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/twisted/words/im/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/twisted/words/im/__pycache__/baseaccount.cpython-312.pyc

�

Ϫ�f{���Gd�d�Zy)c�F�eZdZdZd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zy)�AccountManagera*I am responsible for managing a user's accounts.

    That is, remembering what accounts are available, their settings,
    adding and removal of accounts, etc.

    @ivar accounts: A collection of available accounts.
    @type accounts: mapping of strings to L{Account<interfaces.IAccount>}s.
    c��i|_y�N��accounts��selfs �>/usr/lib/python3/dist-packages/twisted/words/im/baseaccount.py�__init__zAccountManager.__init__s	����
�c���g}|jj�D]C}|j|j|j	�|j
|jf��E|S)z�A snapshot of all the accounts and their status.

        @returns: A list of tuples, each of the form
            (string:accountName, boolean:isOnline,
            boolean:autoLogin, string:gatewayType)
        )r�values�append�accountName�isOnline�	autoLogin�gatewayType)r	�data�accounts   r
�getSnapShotzAccountManager.getSnapShotsd�����}�}�+�+�-�	�G��K�K��'�'��$�$�&��%�%��'�'�	�
�	��rc�2�t|j�dk(S)N�)�lenrrs r
�isEmptyzAccountManager.isEmpty)s���4�=�=�!�Q�&�&rc��g}|jj�D]!}|j|j���#|Sr)rrrr)r	�connectioninfors   r
�getConnectionInfoz AccountManager.getConnectionInfo,s@�����}�}�+�+�-�	6�G��!�!�'�"2�"2�"4�5�	6��rc�6�||j|j<yr)rr)r	rs  r
�
addAccountzAccountManager.addAccount2s��-4��
�
�g�)�)�*rc��|j|=yrr�r	rs  r
�
delAccountzAccountManager.delAccount5s���M�M�+�&rc�>�|j|j|�S)z=
        @returntype: Deferred L{interfaces.IClient}
        )r�logOn)r	r�chatuis   r
�connectzAccountManager.connect8s���}�}�[�)�/�/��7�7rc��yr�r!s  r
�
disconnectzAccountManager.disconnect>���rc��yrr(rs r
�quitzAccountManager.quitBr*rN)
�__name__�
__module__�__qualname__�__doc__rrrrrr"r&r)r,r(rr
rr	s4�����&'��5�'�8�
�
rrN)rr(rr
�<module>r1s��:
�:
r

Zerion Mini Shell 1.0