Package flumotion :: Package twisted :: Module pb :: Class _BouncerWrapper
[show private | hide private]
[frames | no frames]

Class _BouncerWrapper

         Loggable --+
                    |
Jellyable --+       |
            |       |
 Serializable --+   |
                |   |
    Referenceable --+
                    |
                   _BouncerWrapper


Method Summary
  __init__(self, bouncerPortal, broker)
  _authenticateCallback(self, result, mind, *interfaces)
  _loggedIn(self, (interface, perspective, logout))
  remote_login(self, keycard, mind, *interfaces)
Start of keycard login.
    Inherited from Referenceable
  jellyFor(self, jellier)
(internal)
  remoteMessageReceived(self, broker, message, args, kw)
A remote message has been received.
    Inherited from Serializable
  processUniqueID(self)
Return an ID which uniquely represents this object for this process.
    Inherited from Jellyable
  getStateFor(self, jellier)
    Inherited from Loggable
  debug(self, *args)
Log a debug message.
  error(self, *args)
Log an error.
  info(self, *args)
Log an informational message.
  log(self, *args)
Log a log message.
  logFunction(self, message)
Overridable log function.
  logObjectName(self)
Overridable object name function.
  warning(self, *args)
Log a warning.

Class Variable Summary
str logCategory: Implementors can provide a category to log their messages under.
    Inherited from Referenceable
NoneType perspective = None                                                                  
    Inherited from Jellyable
tuple __implements__ = (<class 'twisted.spread.interfaces.IJel...

Method Details

remote_login(self, keycard, mind, *interfaces)

Start of keycard login.
Parameters:
interfaces - list of fully qualified names of interface objects
Returns:
one of
  • a flumotion.common.keycards.Keycard when more steps need to be performed
  • a twisted.spread.pb.AsReferenceable when authentication has succeeded, which will turn into a twisted.spread.pb.RemoteReference on the client side
  • a twisted.cred.error.UnauthorizedLogin when authentication is denied

Class Variable Details

logCategory

Implementors can provide a category to log their messages under.
Type:
str
Value:
'_BouncerWrapper'                                                      

Generated by Epydoc 2.1 on Wed Feb 16 07:22:59 2005 http://epydoc.sf.net