Package flumotion :: Package manager :: Module admin :: Class AdminHeaven
[hide private]

Class AdminHeaven

source code

 twisted.spread.jelly.Jellyable --+                
                                  |                
twisted.spread.flavors.Serializable --+            
                                      |            
   twisted.spread.flavors.Referenceable --+        
                                          |        
                twisted.spread.flavors.Root --+    
                                              |    
                        common.log.Loggable --+    
                                              |    
                             base.ManagerHeaven --+
                                                  |
                                                 AdminHeaven

I interface between the Manager and administrative clients. For each client I create an AdminAvatar to handle requests. I live in the manager.

Nested Classes [hide private]
  avatarClass
the class object this heaven instantiates avatars from.
Instance Methods [hide private]
 
__init__(self, vishnu) source code
 
avatarsCallRemote(self, methodName, *args, **kwargs)
Call a remote method on all AdminAvatars in this heaven.
source code

Inherited from base.ManagerHeaven: createAvatar, getAvatar, getAvatars, hasAvatar, removeAvatar

Inherited from twisted.spread.flavors.Root: rootObject

Inherited from twisted.spread.flavors.Referenceable: jellyFor, remoteMessageReceived

Inherited from twisted.spread.flavors.Serializable: processUniqueID

Inherited from twisted.spread.jelly.Jellyable: __providedBy__, getStateFor

Inherited from common.log.Loggable: debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure

Class Variables [hide private]
  logCategory = 'admin-heaven'
Implementors can provide a category to log their messages under.
  __implemented__ = <implementedBy flumotion.manager.admin.Admin...
  __provides__ = <zope.interface.declarations.ClassProvides obje...

Inherited from twisted.spread.flavors.Referenceable: perspective

Instance Variables [hide private]

Inherited from base.ManagerHeaven: avatars, vishnu

Method Details [hide private]

__init__(self, vishnu)
(Constructor)

source code 
Parameters:
  • vishnu - the Vishnu in control of all the heavens
Overrides: base.ManagerHeaven.__init__
(inherited documentation)

avatarsCallRemote(self, methodName, *args, **kwargs)

source code 

Call a remote method on all AdminAvatars in this heaven.

Parameters:

Class Variable Details [hide private]

__implemented__

Value:
<implementedBy flumotion.manager.admin.AdminHeaven>

__provides__

Value:
<zope.interface.declarations.ClassProvides object at 0x95638ec>