play(self,
avatarId,
type,
moduleName,
methodName,
nice,
bundles)
| source code
|
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.
- Parameters:
avatarId (str) - avatarId the component should use to log in
type (str) - type of component to start
moduleName (str) - name of the module to create the component from
methodName (str) - the factory method to use to create the component
nice (int) - nice level
bundles (list of (str, str)) - ordered list of (bundleName, bundlePath) for this component
|