class twisted.spread.pb._PortalWrapper(Referenceable, _JellyableAvatarMixin): (source)
Root Referenceable object, used to login to portal.
Method | __init__ | Undocumented |
Instance Variable | portal | Undocumented |
Instance Variable | broker | Undocumented |
Method | remote_login | Start of username/password login. |
Method | remote_loginAnonymous | Attempt an anonymous login. |
Inherited from Referenceable:
Class Variable | perspective | I am an object sent remotely as a direct reference. |
Method | remoteMessageReceived | A remote message has been received. Dispatch it appropriately. |
Method | jellyFor | (internal) |
Inherited from Serializable (via Referenceable):
Method | processUniqueID | Return an ID which uniquely represents this object for this process. |
Inherited from Jellyable (via Referenceable, Serializable):
Method | getStateFor | Undocumented |
Inherited from _JellyableAvatarMixin:
Method | _cbLogin | Ensure that the avatar to be returned to the client is jellyable and set up disconnection notification to call the realm's logout object. |
Start of username/password login.
Parameters | username | The username. |
Attempt an anonymous login.
Parameters | mind | An object to use as the mind parameter to the portal login call (possibly None). |
Returns | A Deferred which will be called back with an avatar when login succeeds or which will be errbacked if login fails somehow. (type: Deferred ) |