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

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...
  __provides__ = <zope.interface.declarations.ClassProvides obje...
Method Details [hide private]

__init__(self, computeIdentity)
(Constructor)

source code 
Parameters:

setBouncer(self, bouncer)

source code 
Parameters:

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.

Class Variable Details [hide private]

__implemented__

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

__provides__

Value:
<zope.interface.declarations.ClassProvides object at 0xa596cec>