class documentation

class PBAccount(basesupport.AbstractAccount): (source)

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

View In Hierarchy

Undocumented

Method __init__
Method logOff Sign off.
Method logOn
Class Variable gatewayType A str that identifies the protocol used by this account.
Instance Variable services Undocumented
Method _cbConnected Undocumented
Method _cbIdent Undocumented
Method _ebConnected Undocumented
Method _startLogOn Start the sign on process.
Instance Variable _isConnecting Undocumented

Inherited from AbstractAccount:

Method __getstate__ Get state, adding a version number to it on its way out.
Method __repr__ Undocumented
Method getGroup Group factory.
Method getPerson Person factory.
Method isOnline Undocumented
Method upgrateToVersion2 Undocumented
Class Variable persistanceVersion Undocumented
Instance Variable accountName
Instance Variable autoLogin
Instance Variable client Undocumented
Instance Variable host
Instance Variable password
Instance Variable port
Instance Variable username
Method _cb_logOn Undocumented
Method _clientLost Undocumented
Method _loginFailed Errorback for logOn.
Class Variable _groupFactory A Callable that will return a IGroup appropriate for this account type.
Class Variable _personFactory A Callable that will return a IPerson appropriate for this account type.
Instance Variable _groups Undocumented
Instance Variable _isOnline Whether I am currently on-line with the server.
Instance Variable _persons Undocumented

Inherited from Versioned (via AbstractAccount):

Method __setstate__ Undocumented
Method versionUpgrade (internal) Do a version upgrade.
Class Variable persistenceForgets Undocumented
Class Variable persistenceVersion Undocumented
Instance Variable __dict__ Undocumented
def __init__(self, accountName, autoLogin, username, password, host, port, services=None): (source)
Parameters
accountNameUndocumented
autoLoginUndocumented
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