class documentation

class PBAccount(basesupport.AbstractAccount): (source)

Implements interfaces: twisted.words.im.interfaces.IAccount

View In Hierarchy

Undocumented

Method __init__
Method log​Off Sign off.
Method log​On
Class Variable gateway​Type A str that identifies the protocol used by this account.
Instance Variable services Undocumented
Method _cb​Connected Undocumented
Method _cb​Ident Undocumented
Method _eb​Connected Undocumented
Method _start​Log​On Start the sign on process.
Instance Variable _is​Connecting Undocumented

Inherited from AbstractAccount:

Method __getstate__ Get state, adding a version number to it on its way out.
Method __repr__ Undocumented
Method get​Group Group factory.
Method get​Person Person factory.
Method is​Online Undocumented
Method upgrate​To​Version2 Undocumented
Class Variable persistance​Version Undocumented
Instance Variable account​Name
Instance Variable auto​Login
Instance Variable client Undocumented
Instance Variable host
Instance Variable password
Instance Variable port
Instance Variable username
Method _cb_log​On Undocumented
Method _client​Lost Undocumented
Method _login​Failed Errorback for logOn.
Class Variable _group​Factory A Callable that will return a IGroup appropriate for this account type.
Class Variable _person​Factory A Callable that will return a IPerson appropriate for this account type.
Instance Variable _groups Undocumented
Instance Variable _is​Online Whether I am currently on-line with the server.
Instance Variable _persons Undocumented

Inherited from Versioned (via AbstractAccount):

Method __setstate__ Undocumented
Method version​Upgrade (internal) Do a version upgrade.
Class Variable persistence​Forgets Undocumented
Class Variable persistence​Version Undocumented
Instance Variable __dict__ Undocumented
def __init__(self, accountName, autoLogin, username, password, host, port, services=None): (source)
Parameters
account​NameUndocumented
auto​LoginUndocumented
username:stringThe name of your PB Identity.
passwordUndocumented
hostUndocumented
portUndocumented
servicesUndocumented
def logOff(self): (source)
gatewayType: str = (source)
A str that identifies the protocol used by this account.
services: list = (source)

Undocumented

def _cbConnected(self, root, chatui): (source)

Undocumented

def _cbIdent(self, ident, chatui): (source)

Undocumented

def _ebConnected(self, error): (source)

Undocumented

def _startLogOn(self, chatui): (source)

Start the sign on process.

Factored out of logOn.

Returns
Deferred interfaces.IClientUndocumented