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. | |
flumotion.manager.component.ComponentAvatar
|
Look up a ComponentAvatar by name. |
boolean |
Check if a component with that name is registered. |
loadConfiguration(self,
filename,
string)
| |
This function registers a component in the heaven. | |
Remove a component from the heaven. | |
Tell the feeder set that the given feed on the given component is ready. | |
Shut down the heaven, stopping all components. | |
This function unregisters a component in the heaven. | |
Inherited from ManagerHeaven | |
flumotion.manager.admin.AdminAvatar
|
Create a new administration avatar and manage it. |
ManagerAvatar
|
Get the avatar with the given id. |
list of ManagerAvatar
|
Get all avatars in this heaven. |
Check if the heaven has the given avatar id 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. |
Class Variable Summary | |
---|---|
MetaInterface |
__implements__ = flumotion.common.interfaces.IHeaven |
classobj |
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. |
getComponent(self, name)Look up a ComponentAvatar by name.
|
hasComponent(self, name)Check if a component with that name is registered.
|
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 from the heaven.
|
setFeederReadiness(self, componentAvatar, feedName, readiness)Tell the feeder set that the given feed on the given component is ready.
|
shutdown(self)Shut down the heaven, stopping all components. |
unregisterComponent(self, componentAvatar)This function unregisters a component in the heaven. It is triggered when the mind is detached.
|
Class Variable Details |
---|
logCategoryImplementors can provide a category to log their messages under.
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Fri Jan 21 09:59:47 2005 | http://epydoc.sf.net |