File: //usr/lib/python3/dist-packages/twisted/words/im/__pycache__/interfaces.cpython-310.pyc
o
�b�! � @ s� d Z ddlmZmZ G dd� de�ZG dd� de�ZG dd� de�ZG d d
� d
e�ZG dd� de�ZG d
d� de�Z G dd� de�Z
dS )z
Pan-protocol chat client.
� )� Attribute� Interfacec @ sP e Zd ZdZed�Zed�Zdd� Zdd� Zdd � Z d
d� Z
dd
� Zdd� ZdS )�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 C � dS )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�portr r �=/usr/lib/python3/dist-packages/twisted/words/im/interfaces.py�__init__ � zIAccount.__init__c C r )z7
Am I online?
@rtype: boolean
Nr r r r r
�isOnline* r zIAccount.isOnlinec C r )z�
Go on-line.
@type chatui: Implementor of C{IChatUI}
@rtype: L{Deferred} with an eventual L{IClient} result.
Nr )�chatuir r r
�logOn1 r zIAccount.logOnc C r )z
Sign off.
Nr r r r r
�logOff: r zIAccount.logOffc C r )z*
@rtype: L{Group<IGroup>}
Nr �� groupNamer r r
�getGroup? r zIAccount.getGroupc C r )z,
@rtype: L{Person<IPerson>}
Nr )�
personNamer r r
� getPersonD r zIAccount.getPersonN)
�__name__�
__module__�__qualname__�__doc__r �client�gatewayTyper r r r r r r r r r
r s � r c @ s>