Package flumotion :: Package manager :: Module manager :: Class Dispatcher
[hide private]

Class Dispatcher

source code

extern.log.log.Loggable --+
                          |
                         Dispatcher

I implement twisted.cred.portal.IRealm. I make sure that when a pb.Avatar is requested through me, the Avatar being returned knows about the mind (client) requesting the Avatar.

Instance Methods [hide private]
 
__init__(self, computeIdentity) source code
 
setBouncer(self, bouncer) source code
 
registerHeaven(self, heaven, interface)
Register a Heaven as managing components with the given interface.
source code
 
requestAvatar(self, avatarId, keycard, mind, *ifaces) source code
 
__provides__(...)
Special descriptor for class __provides__

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

Class Variables [hide private]
  logCategory = 'dispatcher'
Implementors can provide a category to log their messages under.
  __implemented__ = <implementedBy flumotion.manager.manager.Dis...
Method Details [hide private]

__init__(self, computeIdentity)
(Constructor)

source code 
Parameters:

setBouncer(self, bouncer)

source code 
Parameters:
  • bouncer (flumotion.component.bouncers.bouncer) - the bouncer to authenticate with

registerHeaven(self, heaven, interface)

source code 

Register a Heaven as managing components with the given interface.

Parameters:
  • interface (twisted.python.components.Interface) - a component interface to register the heaven with.

__provides__(...)

 
Special descriptor for class __provides__

The descriptor caches the implementedBy info, so that
we can get declarations for objects without instance-specific
interfaces a bit quicker.

Overrides: extern.log.log.Loggable.__provides__

Class Variable Details [hide private]

__implemented__

Value:
<implementedBy flumotion.manager.manager.Dispatcher>