Package twisted :: Package cred :: Module portal :: Class IRealm
[show private | hide private]
[frames | no frames]

Type IRealm

object --+    
         |    
 Interface --+
             |
            IRealm


Method Summary
  requestAvatar(self, avatarId, mind, *interfaces)
Return avatar implementing one of the given interfaces.
    Inherited from Interface
  adaptWith(self, using, to, registry)
(Class method)
    Inherited from object
  __init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Instance Method Details

requestAvatar(self, avatarId, mind, *interfaces)

Return avatar implementing one of the given interfaces.

Return a deferred which will fire a tuple of (interface, avatarAspect, logout), or the tuple itself. The interface will be one of the interfaces passed in the 'interfaces' argument. The 'avatarAspect' will implement that interface. The 'logout' object is a callable which will detach the mind from the avatar.

Generated by Epydoc 2.1 on Tue Dec 20 15:33:11 2005 http://epydoc.sf.net