Trees | Index | Help |
---|
Package flumotion :: Package component :: Module component :: Class BaseComponent |
|
object
--+ |GObject
--+ |Loggable
--+ | BaseComponent
Bouncer
,
FeedComponent
,
FeedComponent
Method Summary | |
---|---|
| |
Call a remote method on all admin client views on this component. | |
BaseComponent vmethod for starting up. | |
emit(self,
name,
*args)
| |
getName(self)
| |
getWorkerName(self)
| |
setConfig(self,
config)
| |
setMedium(self,
medium)
| |
Set the given mood on the component if it's different from the current one. | |
setWorkerName(self,
workerName)
| |
Tell the component to start. | |
Start sending heartbeats. | |
Tell the component to stop. | |
Stop sending heartbeats. | |
Inherited from Loggable | |
Log a debug message. | |
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. | |
Inherited from GObject | |
x.__cmp__(y) <==> cmp(x,y) | |
| |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
x.__repr__() <==> repr(x) | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Instance Variable Summary | |
---|---|
string | name : the name of the component |
Class Variable Summary | |
---|---|
GType |
__gtype__ = <GType flumotion+component+component+BaseCom...
|
child class of BaseComponentMedium |
component_medium_class = flumotion.component.component.BaseComponentMedium |
str |
logCategory : Implementors can provide a category to log their messages under. |
Inherited from GObject | |
str |
__gdoc__ = 'Object GObject\n\nSignals from GObject:\n n...
|
getset_descriptor |
__grefcount__ = <attribute '__grefcount__' of 'gobject.G...
|
Method Details |
---|
__init__(self,
name)
|
adminCallRemote(self, methodName, *args, **kwargs)Call a remote method on all admin client views on this component. This gets serialized through the manager and multiplexed to all admin clients, and from there on to all views connected to each admin client model. |
do_start(self, *args, **kwargs)BaseComponent vmethod for starting up. If you override this method, you are responsible for arranging that the component becomes happy. |
setMood(self, mood)Set the given mood on the component if it's different from the current one. |
start(self, *args, **kwargs)Tell the component to start. This is called when all its dependencies are already started. To hook onto this method, implement your own do_start method. See BaseComponent.do_start() for what your do_start method is responsible for doing. Again, don't override this method. Thanks. |
startHeartbeat(self)Start sending heartbeats. |
stop(self)Tell the component to stop. The connection to the manager will be closed. The job process will also finish. |
stopHeartbeat(self)Stop sending heartbeats. |
Instance Variable Details |
---|
namethe name of the component
|
Class Variable Details |
---|
__gtype__
|
logCategoryImplementors can provide a category to log their messages under.
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Tue Dec 20 15:33:10 2005 | http://epydoc.sf.net |