File: //proc/self/root/lib/python3/dist-packages/twisted/words/im/__pycache__/interfaces.cpython-38.pyc
U
W[�! � @ 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.
� )� Interface� Attributec @ 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 s 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� )ZaccountNameZ autoLoginZusernameZpasswordZhostZportr r �=/usr/lib/python3/dist-packages/twisted/words/im/interfaces.py�__init__ s zIAccount.__init__c C s dS )z7
Am I online?
@rtype: boolean
Nr r r r r �isOnline( s zIAccount.isOnlinec C s dS )z�
Go on-line.
@type chatui: Implementor of C{IChatUI}
@rtype: L{Deferred} with an eventual L{IClient} result.
Nr )�chatuir r r �logOn/ s zIAccount.logOnc C s dS )z
Sign off.
Nr r r r r �logOff8 s zIAccount.logOffc C s dS )z*
@rtype: L{Group<IGroup>}
Nr �Z groupNamer r r �getGroup= s zIAccount.getGroupc C s dS )z,
@rtype: L{Person<IPerson>}
Nr )Z
personNamer r r � getPersonB s zIAccount.getPersonN)
�__name__�
__module__�__qualname__�__doc__r �clientZgatewayTyper r r
r r
r r r r r r s r c @ s>