play(self,
avatarId,
type,
moduleName,
methodName,
config,
bundles)
Create a kid and make it "play" by starting a job. Starts
a component with the given name, of the given type, and the given
config dictionary.
This will spawn a new flumotion-job process.
-
- Parameters:
avatarId -
avatarId the component should use to log in
(type=string)
type -
type of component to start
(type=string)
moduleName -
name of the module to create the component from
(type=string)
methodName -
the factory method to use to create the component
(type=string)
config -
a configuration dictionary for the component
(type=dict)
bundles -
ordered list of (bundleName, bundlePath) for this
component
(type=list of (str, str))
|