| Trees | Index | Help |
|---|
| Package flumotion :: Package worker :: Module worker :: Class WorkerMedium |
|
Loggable --+
|
Jellyable --+ |
| |
Serializable --+ |
| |
Referenceable --+
|
Referenceable --+
|
BaseMedium --+
|
PingingMedium --+
|
WorkerMedium
| Method Summary | |
|---|---|
| |
| list of str |
Checks if one or more GStreamer elements are present and can be instantiated. |
Checks if the given module can be imported. | |
remote_create(self,
*args,
**kwargs)
| |
I return a list of componentAvatarIds, I have. | |
| int, or NoneType |
Return the TCP port the Feed Server is listening on. |
| list of int |
Gets the range of feed ports that this worker was configured to use. |
Runs the given function in the given module with the given arguments. | |
| Inherited from PingingMedium | |
| |
| |
| |
| |
| |
| |
| Inherited from BaseMedium | |
Call the given method with the given arguments remotely on the server-side avatar. | |
Call the given method with the given arguments remotely on the server-side avatar. | |
Does the medium have a remote reference to a server-side avatar ? | |
| |
| Inherited from Referenceable | |
| |
| Inherited from Referenceable | |
(internal) | |
| 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 | |
|---|---|
WorkerBrain |
brain: the worker brain |
| Inherited from BaseMedium | |
twisted.spread.pb.RemoteReference |
remote: a remote reference to the server-side object on which
perspective_(methodName) methods can be called |
| Class Variable Summary | |
|---|---|
Implements |
__implemented__ = <implementedBy flumotion.worker.worker...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
str |
logCategory: Implementors can provide a category to log their messages under. |
| Inherited from PingingMedium | |
float |
_pingCheckInterval = 12.5 |
NoneType |
_pingDC = None |
int |
_pingInterval = 5 |
| Inherited from BaseMedium | |
flumotion.common.bundleclient.BundleLoader |
bundleLoader = None |
| str | remoteLogName: name to use to log the other side of the connection |
| Inherited from Referenceable | |
NoneType |
perspective = None |
| Inherited from Jellyable | |
ClassProvides |
__providedBy__ = <zope.interface.declarations.ClassProvi...
|
| Method Details |
|---|
__init__(self,
brain,
ports)
|
remote_checkElements(self, elementNames)Checks if one or more GStreamer elements are present and can be instantiated.
|
remote_checkImport(self, moduleName)Checks if the given module can be imported.
|
remote_getComponents(self)I return a list of componentAvatarIds, I have. I am called by the manager soon after I attach to it. This is needed on reconnects so that the manager knows what components it needs to start on me.
|
remote_getFeedServerPort(self)Return the TCP port the Feed Server is listening on.
|
remote_getPorts(self)Gets the range of feed ports that this worker was configured to use.
|
remote_runFunction(self, module, function, *args, **kwargs)Runs the given function in the given module with the given arguments.
|
| Instance Variable Details |
|---|
brainthe worker brain
|
| Class Variable Details |
|---|
__implemented__
|
__provides__
|
logCategoryImplementors can provide a category to log their messages under.
|
| Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Sun Oct 26 16:39:16 2008 | http://epydoc.sf.net |