Trees | Index | Help |
---|
Package flumotion :: Package manager :: Module component :: Class ComponentHeaven |
|
Loggable
--+ |Jellyable
--+ | | |Serializable
--+ | | |Referenceable
--+ | | |Root
--+ |ManagerHeaven
--+ | ComponentHeaven
ComponentAvatar
s for them.
Method Summary | |
---|---|
| |
_startComponent(self,
*args,
**kwargs)
| |
ComponentAvatar
|
Return a component avatar for the given state. |
twisted.internet.defer.Deferred
|
Get the master clock information from the given clock master component. |
twisted.internet.defer.Deferred
|
Tell the given component to provide a master clock. |
This function registers a component in the heaven. | |
Remove a component avatar from the heaven. | |
Tell the given component to stop providing a master clock. | |
setupComponent(self,
*args,
**kwargs)
| |
This function unregisters a component in the heaven. | |
_componentIsLocal(self,
componentAvatar)
| |
Retrieve the information about the feeders this component's eaters are eating from. | |
tuple of (str, str, int) tuple |
Retrieves the data of feeders (feed producer elements) for a component. |
_setupComponent(self,
componentAvatar)
| |
I try to start nodes in the depgraph if they should be started. | |
Inherited from ManagerHeaven | |
flumotion.manager.base.ManagerAvatar
|
Create a new avatar and manage it. |
ManagerAvatar
|
Get the avatar with the given id. |
list of ManagerAvatar
|
Get all avatars in this heaven. |
bool |
Check if a component with that name is registered. |
Stop managing the given avatar. | |
Inherited from Root | |
A pb.BrokerFactory is requesting to publish me as a root
object. | |
Inherited from Referenceable | |
(internal) | |
A remote message has been received. | |
Inherited from Serializable | |
Return an ID which uniquely represents this object for this process. | |
Inherited from Jellyable | |
| |
Inherited from Loggable | |
Log a debug message. | |
dict |
Log a message at the given level, with the possibility of going higher up in the stack. |
Log an error. | |
Log an informational message. | |
Log a log message. | |
Overridable log function. | |
Overridable object name function. | |
Log a warning. | |
Log a warning about a Failure. |
Instance Variable Summary | |
---|---|
Inherited from ManagerHeaven | |
dict of str -> ManagerAvatar |
avatars : a dict of avatarId -> Avatar |
flumotion.manager.manager.Vishnu |
vishnu : the Vishnu in control of all the heavens |
Class Variable Summary | |
---|---|
Implements |
__implemented__ = <implementedBy flumotion.manager.compo...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
NoneType |
avatarClass = flumotion.manager.component.ComponentAvatar |
str |
logCategory : Implementors can provide a category to log their messages under. |
Inherited from Referenceable | |
NoneType |
perspective = None |
Inherited from Jellyable | |
ClassProvides |
__providedBy__ = <zope.interface.declarations.ClassProvi...
|
Method Details |
---|
__init__(self,
vishnu)
|
getComponentAvatarForState(self, state)Return a component avatar for the given state.
|
getMasterClockInfo(self, avatarId, waiterId=None)Get the master clock information from the given clock master component.
|
provideMasterClock(self, componentAvatar)Tell the given component to provide a master clock. Trigger all deferreds waiting on this componentAvatar to provide a master clock.
|
registerComponent(self, componentAvatar)This function registers a component in the heaven. It is triggered when the mind is attached.
|
removeComponent(self, componentAvatar)Remove a component avatar from the heaven.
|
removeMasterClock(self, componentAvatar)Tell the given component to stop providing a master clock.
|
unregisterComponent(self, componentAvatar)This function unregisters a component in the heaven. It is triggered when the mind is detached.
|
_getComponentEatersData(self, componentAvatar)Retrieve the information about the feeders this component's eaters are eating from.
|
_getComponentFeedersData(self, component)Retrieves the data of feeders (feed producer elements) for a component.
|
_tryWhatCanBeStarted(self, result=True)I try to start nodes in the depgraph if they should be started. I am a recursive method, because the depgraph's list of what should be started may change when nodes start/stop.
|
Class Variable Details |
---|
__implemented__
|
__provides__
|
logCategoryImplementors can provide a category to log their messages under.
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Fri Feb 2 11:44:37 2007 | http://epydoc.sf.net |