Ë
    oj{  ã                   ó   —  G d „ d«      Z y)c                   óF   — e Zd ZdZd„ Zd„ Zd„ Zd„ Zd„ Zd„ Z	d„ Z
d	„ Zd
„ 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__zAccountManager.__init__   s	   € Øˆ�ó    c                 óÊ   — g }| j                   j                  «       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
   ÚgetSnapShotzAccountManager.getSnapShot   sd   € ð ˆØ—}‘}×+Ñ+Ó-ò 	ˆGØ�K‰Kà×'Ñ'Ø×$Ñ$Ó&Ø×%Ñ%Ø×'Ñ'ð	õð	ð ˆr   c                 ó2   — t        | j                  «      dk(  S )Né    )Úlenr   r   s    r
   ÚisEmptyzAccountManager.isEmpty)   s   € Ü�4—=‘=Ó! QÑ&Ð&r   c                 ó†   — g }| j                   j                  «       D ]!  }|j                  |j                  «       «       Œ# |S r   )r   r   r   r   )r	   Úconnectioninfor   s      r
   ÚgetConnectionInfoz AccountManager.getConnectionInfo,   s@   € ØˆØ—}‘}×+Ñ+Ó-ò 	6ˆGØ×!Ñ! '×"2Ñ"2Ó"4Õ5ð	6àÐr   c                 ó6   — || j                   |j                  <   y r   )r   r   )r	   r   s     r
   Ú
addAccountzAccountManager.addAccount2   s   € Ø-4ˆ�‰�g×)Ñ)Ò*r   c                 ó   — | j                   |= y r   r   ©r	   r   s     r
   Ú
delAccountzAccountManager.delAccount5   s   € Ø�M‰M˜+Ñ&r   c                 ó>   — | j                   |   j                  |«      S )z=
        @returntype: Deferred L{interfaces.IClient}
        )r   ÚlogOn)r	   r   Úchatuis      r
   ÚconnectzAccountManager.connect8   s   € ð �}‰}˜[Ñ)×/Ñ/°Ó7Ð7r   c                  ó   — y r   © r!   s     r
   Ú
disconnectzAccountManager.disconnect>   ó   € Ør   c                  ó   — y r   r(   r   s    r
   ÚquitzAccountManager.quitB   r*   r   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r   r"   r&   r)   r,   r(   r   r
   r   r   	   s4   „ ñòòò&'òò5ò'ò8òór   r   N)r   r(   r   r
   ú<module>r1      s   ð÷:ò :r   