Part of twisted.words.im.basechat View Source View In Hierarchy
| Instance Variables | conversations | A cache of all the direct windows.
 (type: dictofConversation.
) | 
| groupConversations | A cache of all the group windows.
 (type: dictofGroupConversation.
) | |
| persons | A cache of all the users associated with this client.
 (type: dictwith keys that are atupleof 
(str,basesupport.AbstractAccount)
and values that arePerson.
) | |
| groups | A cache of all the user groups associated with this client.
 (type: dictwith keys that are atupleof 
(str,basesupport.AbstractAccount)
and values that areGroup) | |
| onlineClients | A list of message sources currently online.
 (type: listofClient) | |
| contactsList | A contacts list.
 (type: ContactsList) | 
| Method | __init__ | Undocumented | 
| Method | registerAccountClient | Notifies user that an account has been signed on to. | 
| Method | unregisterAccountClient | Notifies user that an account has been signed off or disconnected | 
| Method | getContactsList | |
| Method | getConversation | For the given person object, returns the conversation window or creates and returns a new conversation window if one does not exist. | 
| Method | getGroupConversation | For the given group object, returns the group conversation window or creates and returns a new group conversation window if it doesn't exist | 
| Method | getPerson | For the given name and account client, returns the instance of the AbstractPerson subclass, or creates and returns a new AbstractPerson subclass of the type Class | 
| Method | getGroup | For the given name and account client, returns the instance of the AbstractGroup subclass, or creates and returns a new AbstractGroup subclass of the type Class | 
| Method | contactChangedNick | For the given person, change theperson'snametonewnickand tell the contact list and any
conversation windows with thatpersonto change as well. | 
| Parameters | client | (type: Client) | 
| Returns | client, so that I may be used in a callback chain | |
| Parameters | client | (type: Client) | 
| Parameters | person | (type: Person) | 
| Class | (type: Conversationclass
) | |
| stayHidden | (type: boolean ) | |
| Returns | (type: Conversation) | |
| Parameters | group | (type: Group) | 
| Class | (type: Conversationclass
) | |
| stayHidden | (type: boolean ) | |
| Returns | (type: GroupConversation) | |
person, change the person's 
name to newnick and tell the contact list and any
conversation windows with that person to change as well.
| Parameters | person | The person whose nickname will get changed.
 (type: Person) | 
| newnick | The new namepersonwill take.
 (type:str) |