�
Ϫ�f�! � � � d Z ddlmZmZ G d� de� Z G d� de� Z G d� de� Z G d � d
e� Z G d� de� Z G d
� de� Z G d� de� Z
y)z
Pan-protocol chat client.
� )� Attribute� Interfacec �T � e Zd ZdZ ed� Z ed� Zd� Zd� Zd� Z d� Z
d� Zd � Zy
)�IAccountz;
I represent a user's account with a chat service.
z<The L{IClient} currently connecting to this account, if any.z;A C{str} that identifies the protocol used by this account.c � � y)a
@type accountName: string
@param accountName: A name to refer to the account by locally.
@type autoLogin: boolean
@type username: string
@type password: string
@type host: string
@type port: integer
N� )�accountName� autoLogin�username�password�host�ports �=/usr/lib/python3/dist-packages/twisted/words/im/interfaces.py�__init__zIAccount.__init__ � � � c � � y)z7
Am I online?
@rtype: boolean
Nr r r r �isOnlinezIAccount.isOnline* r r c � � y)z�
Go on-line.
@type chatui: Implementor of C{IChatUI}
@rtype: L{Deferred} with an eventual L{IClient} result.
Nr )�chatuis r �logOnzIAccount.logOn1 r r c � � y)z
Sign off.
Nr r r r �logOffzIAccount.logOff: r r c � � y)z*
@rtype: L{Group<IGroup>}
Nr �� groupNames r �getGroupzIAccount.getGroup? r r c � � y)z,
@rtype: L{Person<IPerson>}
Nr )�
personNames r � getPersonzIAccount.getPersonD r r N)
�__name__�
__module__�__qualname__�__doc__r �client�gatewayTyper r r r r r r r r r r s? � �� �U�
V�F��E��K� ����
�
r r c �< |