class documentation

A realm which repeatedly gives out a single instance of MyPerspective for non-anonymous logins and which gives out a new instance of Echoer for each anonymous login.

Method requestAvatar Verify that the mind and interface supplied have the expected values (this should really be done somewhere else, like inside a test method) and return an avatar appropriate for the given identifier.
Instance Variable lastPerspective The MyPerspective most recently created and returned from requestAvatar.
Instance Variable perspectiveFactory A one-argument callable which will be used to create avatars to be returned from requestAvatar.
def requestAvatar(self, avatarId, mind, interface): (source)

Verify that the mind and interface supplied have the expected values (this should really be done somewhere else, like inside a test method) and return an avatar appropriate for the given identifier.

lastPerspective = (source)

The MyPerspective most recently created and returned from requestAvatar.

perspectiveFactory = (source)

A one-argument callable which will be used to create avatars to be returned from requestAvatar.