| Trees | Index | Help |
|---|
| Package flumotion :: Package manager :: Module base :: Class ManagerHeaven |
|
Loggable --+
|
Jellyable --+ |
| |
Serializable --+ |
| |
Referenceable --+ |
| |
Root --+
|
ManagerHeaven
AdminHeaven,
ComponentHeaven,
WorkerHeaven| Method Summary | |
|---|---|
| |
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 | |
|---|---|
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.base....
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
NoneType |
avatarClass: the class object this heaven instantiates avatars from. |
| Inherited from Referenceable | |
NoneType |
perspective = None |
| Inherited from Jellyable | |
ClassProvides |
__providedBy__ = <zope.interface.declarations.ClassProvi...
|
| Inherited from Loggable | |
str |
logCategory: Implementors can provide a category to log their messages under. |
| Method Details |
|---|
__init__(self,
vishnu)
|
createAvatar(self, avatarId, remoteIdentity)Create a new avatar and manage it.
|
getAvatar(self, avatarId)Get the avatar with the given id.
|
getAvatars(self)Get all avatars in this heaven.
|
hasAvatar(self, avatarId)Check if a component with that name is registered.
|
removeAvatar(self, avatarId)Stop managing the given avatar.
|
| Instance Variable Details |
|---|
avatarsa dict of avatarId -> Avatar
|
vishnuthe Vishnu in control of all the heavens |
| Class Variable Details |
|---|
__implemented__
|
__provides__
|
avatarClassthe class object this heaven instantiates avatars from. To be set in subclass.
|
| Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Sun Oct 26 16:39:16 2008 | http://epydoc.sf.net |