Package flumotion :: Package manager :: Module component :: Class ComponentHeaven
[hide private]

Class ComponentHeaven

source code

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

I handle all registered components and provide ComponentAvatars for them.

Nested Classes [hide private]
  avatarClass
the class object this heaven instantiates avatars from.
Instance Methods [hide private]
 
__init__(self, vishnu) source code
 
feedServerAvailable(self, workerName) source code
 
masterClockAvailable(self, component) source code
 
_setupClocking(self, avatar) source code
 
componentAttached(self, avatar) source code
 
componentDetached(self, avatar) source code
tuple of (str, int or None)
mapNetFeed(self, fromAvatar, toAvatar)
Returns: the host and port on which to make the connection to toAvatar from fromAvatar
source code
 
_connectFeederToEater(self, fromComp, fromFeed, toComp, toFeed, method) source code
 
_connectEatersAndFeeders(self, avatar) source code
 
_connectEaters(self, avatar, ffid) source code
 
__provides__(...)
Special descriptor for class __provides__

Inherited from base.ManagerHeaven: getAvatar, getAvatars, hasAvatar

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 extern.log.log.Loggable: debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure, writeMarker

Class Variables [hide private]
  logCategory = 'comp-heaven'
Implementors can provide a category to log their messages under.
  __implemented__ = <implementedBy flumotion.manager.component.C...

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)

mapNetFeed(self, fromAvatar, toAvatar)

source code 
Parameters:
Returns: tuple of (str, int or None)
the host and port on which to make the connection to toAvatar from fromAvatar

__provides__(...)

 
Special descriptor for class __provides__

The descriptor caches the implementedBy info, so that
we can get declarations for objects without instance-specific
interfaces a bit quicker.

Overrides: extern.log.log.Loggable.__provides__

Class Variable Details [hide private]

__implemented__

Value:
<implementedBy flumotion.manager.component.ComponentHeaven>