| Trees | Index | Help |
|---|
| Package flumotion :: Package manager :: Module component :: Class ComponentHeaven |
|
Loggable --+
|
Jellyable --+ |
| |
Serializable --+ |
| |
Referenceable --+ |
| |
Root --+
|
ManagerHeaven --+
|
ComponentHeaven
| Method Summary | |
|---|---|
| |
Check if the component can start up, and start it if it can. | |
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. |
registerComponent(self,
*args,
**kwargs)
| |
Remove a component avatar from the heaven. | |
Tell the given component to stop providing a master clock. | |
Tell the feeder set that the given feed on the given component is ready. | |
This function unregisters a component in the heaven. | |
_componentIsLocal(self,
componentAvatar)
| |
| tuple of (str, str, int) |
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. |
_getFeederSet(self,
componentAvatar)
| |
_startComponent(self,
componentAvatar)
| |
| 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. | |
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 | |
|---|---|
tuple |
__implements__ = (<class 'flumotion.common.interfaces.IH...
|
NoneType |
avatarClass = flumotion.manager.component.ComponentAvatar |
str |
logCategory: Implementors can provide a category to log their messages under. |
| Inherited from Referenceable | |
NoneType |
perspective = None |
| Method Details |
|---|
__init__(self,
vishnu)
|
checkComponentStart(self, readiness, componentAvatar)Check if the component can start up, and start it if it can. This depends on whether the components and feeders it depends on have started.
|
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.
|
removeComponent(self, componentAvatar)Remove a component avatar from the heaven.
|
removeMasterClock(self, componentAvatar)Tell the given component to stop providing a master clock.
|
setFeederReadiness(self, componentAvatar, feedName, readiness)Tell the feeder set that the given feed on the given component is ready.
|
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.
|
| Class Variable Details |
|---|
__implements__
|
logCategoryImplementors can provide a category to log their messages under.
|
| Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Thu Jan 25 09:34:56 2007 | http://epydoc.sf.net |