class documentation

class PBAccount(basesupport.AbstractAccount): (source)

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

View In Hierarchy

Undocumented

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

Inherited from AbstractAccount:

Instance Variable accountName
Instance Variable autoLogin
Instance Variable username
Instance Variable password
Instance Variable host
Instance Variable port
Instance Variable client Undocumented
Class Variable persistanceVersion Undocumented
Method upgrateToVersion2 Undocumented
Method __getstate__ Get state, adding a version number to it on its way out.
Method isOnline Undocumented
Method getGroup Group factory.
Method getPerson Person factory.
Method __repr__ Undocumented
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 _isOnline Whether I am currently on-line with the server.
Instance Variable _groups Undocumented
Instance Variable _persons Undocumented
Method _cb_logOn Undocumented
Method _loginFailed Errorback for logOn.
Method _clientLost Undocumented

Inherited from Versioned (via AbstractAccount):

Class Variable persistenceVersion Undocumented
Class Variable persistenceForgets Undocumented
Method __setstate__ Undocumented
Instance Variable __dict__ Undocumented
Method versionUpgrade (internal) Do a version upgrade.
gatewayType = (source)

A str that identifies the protocol used by this account.

(type: str)
def __init__(self, accountName, autoLogin, username, password, host, port, services=None): (source)
ParametersaccountNameUndocumented
autoLoginUndocumented
usernameThe name of your PB Identity. (type: string)
passwordUndocumented
hostUndocumented
portUndocumented
servicesUndocumented
services = (source)

Undocumented

(type: list)
def logOn(self, chatui): (source)
def logOff(self): (source)
def _startLogOn(self, chatui): (source)

Start the sign on process.

Factored out of logOn.

ReturnsUndocumented (type: Deferred interfaces.IClient)
def _cbConnected(self, root, chatui): (source)

Undocumented

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

Undocumented

def _ebConnected(self, error): (source)

Undocumented

API Documentation for Twisted, generated by pydoctor 21.2.0 at 2021-02-28 21:00:42.