| Trees | Index | Help |
|---|
| Package flumotion :: Package job :: Module job :: Class JobMedium |
|
Loggable --+
|
Jellyable --+ |
| |
Serializable --+ |
| |
Referenceable --+
|
Referenceable --+
|
BaseMedium --+
|
JobMedium
| Method Summary | |
|---|---|
__init__(self)
| |
I receive the information on how to connect to the manager. | |
I am called on by the worker's JobAvatar to create a component. | |
remote_stop(self)
| |
Shut down the job process completely, cleaning up the component so the reactor can be left from. | |
shutdownHandler(self)
| |
_componentStopped(self)
| |
Create a component of the given type. | |
_enableCoreDumps(self)
| |
_setNice(self,
nice)
| |
| 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 ? | |
| |
Set the given remoteReference as the reference to the 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 | |
|---|---|
| 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.job.job.JobMe...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
flumotion.component.component.BaseComponent |
component: the component this is a medium for; created as part of remote_create |
str |
logCategory: Implementors can provide a category to log their messages under. |
| str | remoteLogName: name to use to log the other side of the connection |
| Inherited from BaseMedium | |
flumotion.common.bundleclient.BundleLoader |
bundleLoader = None |
| Inherited from Referenceable | |
NoneType |
perspective = None |
| Inherited from Jellyable | |
ClassProvides |
__providedBy__ = <zope.interface.declarations.ClassProvi...
|
| Method Details |
|---|
remote_bootstrap(self, workerName, host, port, transport, authenticator, packagePaths)I receive the information on how to connect to the manager. I also set up package paths to be able to run the component. Called by the worker's JobAvatar.
|
remote_create(self, avatarId, type, moduleName, methodName, nice=0)I am called on by the worker's JobAvatar to create a component.
|
shutdown(self)Shut down the job process completely, cleaning up the component so the reactor can be left from. |
_createComponent(self, avatarId, type, moduleName, methodName, nice=0)Create a component of the given type. Log in to the manager with the given avatarId.
|
| Class Variable Details |
|---|
__implemented__
|
__provides__
|
componentthe component this is a medium for; created as part ofremote_create
|
logCategoryImplementors can provide a category to log their messages under.
|
remoteLogNamename to use to log the other side of the connection
|
| Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Sun Oct 26 16:39:17 2008 | http://epydoc.sf.net |