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 | request |
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 | last |
The MyPerspective most recently created and returned from requestAvatar. |
Instance Variable | perspective |
A one-argument callable which will be used to create avatars to be returned from requestAvatar. |
overridden in
twisted.spread.test.test_pb.LeakyRealm
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.