| Trees | Index | Help |
|---|
| Package flumotion :: Package worker :: Module worker :: Class Kindergarten |
|
Loggable --+
|
Kindergarten
| Method Summary | |
|---|---|
| |
getKid(self,
avatarId)
| |
getKidAvatarIds(self)
| |
getKids(self)
| |
Create a kid and make it "play" by starting a job. | |
| boolean |
Remove the kid from the kindergarten based on the pid. |
| 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. | |
| Class Variable Summary | |
|---|---|
str |
logCategory: Implementors can provide a category to log their messages under. |
| Inherited from Loggable | |
Implements |
__implemented__ = <implementedBy flumotion.common.log.Lo...
|
ClassProvides |
__providedBy__ = <zope.interface.declarations.ClassProvi...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
| Method Details |
|---|
__init__(self,
options,
socketPath,
brain)
|
play(self, avatarId, type, moduleName, methodName, nice, bundles)Create a kid and make it "play" by starting a job. Starts a component with the given name, of the given type, with the given nice level. This will spawn a new flumotion-job process.
|
removeKidByPid(self, pid)Remove the kid from the kindergarten based on the pid. Called by the signal handler in the brain.
|
| Class Variable Details |
|---|
logCategoryImplementors can provide a category to log their messages under.
|
| Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Fri Feb 2 11:29:20 2007 | http://epydoc.sf.net |