Trees | Index | Help |
---|
Package flumotion :: Package component :: Module component :: Class BaseComponentMedium |
|
Loggable
--+ |Jellyable
--+ | | |Serializable
--+ | | |Referenceable
--+ |Referenceable
--+ |BaseMedium
--+ |PingingMedium
--+ | BaseComponentMedium
FeedComponentMedium
,
BouncerMedium
ComponentClientFactory
.
Method Summary | |
---|---|
| |
Return the IP of this component based on connection to the manager. | |
Return the manager IP as seen by us. | |
remote_callMethod(self,
methodName,
*args,
**kwargs)
| |
dict |
Return the configuration of the component. |
flumotion.common.planet.WorkerJobState
|
Return the state of the component, which will be serialized to a flumotion.common.planet.ManagerJobState
object. |
Get a WorkerComponentUIState containing details needed to present an admin-side UI state | |
Reload modules in the component. | |
Set up the component and the component's medium with the given config, in that order. | |
remote_start(self,
*args,
**kwargs)
| |
remote_stop(self)
| |
Set the authenticator the client factory has used to log in to the manager. | |
setup(self,
config)
| |
_reloaded(self)
| |
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 | |
---|---|
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.component.com...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
flumotion.twisted.pb.Authenticator |
authenticator : the authenticator used to log in to manager |
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,
component)
|
getIP(self)Return the IP of this component based on connection to the manager. Note: this is insufficient in general, and should be replaced by network mapping stuff later. |
getManagerIP(self)Return the manager IP as seen by us. |
remote_getConfig(self)Return the configuration of the component.
|
remote_getState(self)Return the state of the component, which will be serialized to aflumotion.common.planet.ManagerJobState
object.
|
remote_getUIState(self)Get a WorkerComponentUIState containing details needed to present an admin-side UI state |
remote_reloadComponent(self)Reload modules in the component. |
remote_setup(self, config)Set up the component and the component's medium with the given config, in that order. |
setAuthenticator(self, authenticator)Set the authenticator the client factory has used to log in to the manager. Can be reused by the component's medium to make feed connections which also get authenticated by the manager's bouncer.
|
Class Variable Details |
---|
__implemented__
|
__provides__
|
authenticatorthe authenticator used to log in to manager |
logCategoryImplementors can provide a category to log their messages under.
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Mon Jul 30 18:00:01 2007 | http://epydoc.sf.net |