Package flumotion :: Package component :: Package bouncers :: Module multibouncer :: Class StaticMultiBouncer
[hide private]

Class StaticMultiBouncer

source code

             object --+                
                      |                
common.common.InitMixin --+            
                          |            
extern.log.log.Loggable --+            
                          |            
    component.BaseComponent --+        
                              |        
              component.Bouncer --+    
                                  |    
                       MultiBouncer --+
                                      |
                                     StaticMultiBouncer
Known Subclasses:

A multibouncer that has a static list of bouncer algorithm plugs

Nested Classes [hide private]

Inherited from component.Bouncer: componentMediumClass

Instance Methods [hide private]
 
get_main_algorithm(self) source code
 
setMedium(self, medium) source code
 
do_setup(self)
Subclasses can implement me to set up the component before it is started.
source code
 
check_algorithms(self, algorithms) source code
 
do_stop(self)
BaseComponent vmethod for stopping.
source code

Inherited from MultiBouncer: algorithm_expire_keycard_ids, do_authenticate, init, on_keycardRemoved

Inherited from component.Bouncer: addKeycard, authenticate, do_expireKeycards, do_validate, expireAllKeycards, expireKeycardId, expireKeycardIds, generateKeycardId, getDomain, getEnabled, hasKeycard, keepAlive, on_disabled, on_enabled, on_keycardAdded, removeKeycard, removeKeycardId, setDomain, setEnabled, typeAllowed

Inherited from component.BaseComponent: __init__, __provides__, addMessage, adminCallRemote, checkPropertyType, check_properties, do_check, fixRenamedProperties, getMood, getName, getWorkerName, modifyProperty, observerAppend, observerRemove, removeMessage, setMood, setShutdownHook, setWorkerName, setup, setup_completed, stop, waitForHappy, warnDeprecatedProperties

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Inherited from extern.log.log.Loggable: __providedBy__, debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure, writeMarker

Class Variables [hide private]
  algorithmClasses = None
hash(x)

Inherited from MultiBouncer: keycardClasses, logCategory

Inherited from component.Bouncer: KEYCARD_EXPIRE_INTERVAL

Inherited from component.BaseComponent: __implemented__

Instance Variables [hide private]

Inherited from component.BaseComponent: medium, name, uiState

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

setMedium(self, medium)

source code 
Overrides: component.BaseComponent.setMedium

do_setup(self)

source code 

Subclasses can implement me to set up the component before it is started. It should set up the component, possibly opening files and resources. Non-programming errors should not be raised, but returned as a failing deferred.

The return value may be a deferred.

Overrides: component.BaseComponent.do_setup
(inherited documentation)

check_algorithms(self, algorithms)

source code 
Overrides: MultiBouncer.check_algorithms

do_stop(self)

source code 

BaseComponent vmethod for stopping. The component should do any cleanup it needs, but must not set the component's mood to sleeping.

Returns:
twisted.internet.defer.Deferred
Overrides: component.BaseComponent.do_stop
(inherited documentation)