Trees | Index | Help |
---|
Package flumotion :: Package component :: Package bouncers :: Module bouncer :: Class Bouncer |
|
object
--+ |GObject
--+ |object
--+ | | |InitMixin
--+ |Loggable
--+ |BaseComponent
--+ | Bouncer
Method Summary | |
---|---|
addKeycard(self,
keycard)
| |
authenticate(self,
keycard)
| |
expireKeycardId(self,
id)
| |
getDomain(self)
| |
hasKeycard(self,
keycard)
| |
A subclass should do as little as possible in its init method. | |
removeKeycard(self,
keycard)
| |
removeKeycardId(self,
id)
| |
setDomain(self,
name)
| |
Verify if the keycard is an instance of a Keycard class specified in the bouncer's keycardClasses variable. | |
Inherited from BaseComponent | |
Subclasses should not override __init__ at all. | |
Add a message to the component. | |
Call a remote method on all admin client views on this component. | |
Subclasses can implement me to run any checks before the component performs setup. | |
Subclasses can implement me to set up the component before it is started. | |
BaseComponent vmethod for starting up. | |
BaseComponent vmethod for stopping. | |
| |
| |
| |
| |
Set the given mood on the component if it's different from the current one. | |
Sets up the component with the given config. | |
| |
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 | |
---|---|
Inherited from BaseComponent | |
string | name : the name of the component |
Class Variable Summary | |
---|---|
tuple |
keycardClasses = ()
|
str |
logCategory : Implementors can provide a category to log their messages under. |
Inherited from BaseComponent | |
GType |
__gtype__ = <GType flumotion+component+component+BaseCom...
|
Inherited from Loggable | |
Implements |
__implemented__ = <implementedBy flumotion.common.log.Lo...
|
ClassProvides |
__providedBy__ = <zope.interface.declarations.ClassProvi...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
Inherited from GObject | |
str |
__gdoc__ = 'Object GObject\n\nSignals from GObject:\n n...
|
getset_descriptor |
__grefcount__ = <attribute '__grefcount__' of 'gobject.G...
|
GProps |
props = <gobject.GProps object at 0x41d3972c>
|
Method Details |
---|
init(self)A subclass should do as little as possible in its init method. In particular, it should not try to access resources. Failures during init are marshalled back to the manager through the worker's remote_create method, since there is no component state proxied to the manager yet at the time of init.
|
typeAllowed(self, keycard)Verify if the keycard is an instance of a Keycard class specified in the bouncer's keycardClasses variable. |
Class Variable Details |
---|
keycardClasses
|
logCategoryImplementors can provide a category to log their messages under.
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Wed Sep 13 13:38:37 2006 | http://epydoc.sf.net |