Go to the latest version of this document.
search in docstrings

Search bar offers the following options:

- Term presence. The below example searches for documents that must contain “foo”, might contain “bar” and must not contain “baz”: `+foo bar -baz`
- Wildcards. The below example searches for documents with words beginning with “foo”: `foo*`
- Search in specific fields. The following search matches all objects in "twisted.mail" that matches “search”: `+qname:twisted.mail.* +search`

  Possible fields: 'name', 'qname' (fully qualified name), 'docstring', and 'kind'. Last two fields are only applicable if "search in docstrings" is enabled.

- Fuzzy matches. The following search matches all documents that have a word within 1 edit distance of “foo”: `foo~1`

Results provided by Lunr.js

# ``twisted`.`words`.`im`.`baseaccount`.`AccountManager``

class documentation

`class AccountManager: (source)`

View In Hierarchy

I am responsible for managing a user's accounts.

That is, remembering what accounts are available, their settings, adding and removal of accounts, etc.

Method | `__init__` | Undocumented
Method | `addAccount` | Undocumented
Method | `connect` | No summary
Method | `delAccount` | Undocumented
Method | `disconnect` | Undocumented
Method | `getConnectionInfo` | Undocumented
Method | `getSnapShot` | A snapshot of all the accounts and their status.
Method | `isEmpty` | Undocumented
Method | `quit` | Undocumented
Instance Variable | `accounts` | A collection of available accounts.

def __init__(self): (source)

Undocumented

def addAccount(self, account): (source)

Undocumented

def connect(self, accountName, chatui): (source)

Returns
Deferred `interfaces.IClient` | Undocumented

def delAccount(self, accountName): (source)

Undocumented

def disconnect(self, accountName): (source)

Undocumented

def getConnectionInfo(self): (source)

Undocumented

def getSnapShot(self): (source)

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)

def isEmpty(self): (source)

Undocumented

def quit(self): (source)

Undocumented

accounts: mapping of strings to `Account`s. = (source)

A collection of available accounts.