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

Class PingableAvatar

  Avatar --+    
           |    
Loggable --+    
           |    
      Avatar --+
               |
              PingableAvatar

Known Subclasses:
ManagerAvatar

Method Summary
  perspective_ping(self)
  setMind(self, mind)
Tell the avatar that the given mind has been attached.
  startPingChecking(self, disconnect)
  stopPingChecking(self)
    Inherited from Avatar
  __init__(self, avatarId)
  disconnect(self)
Disconnect the remote PB client.
  mindCallRemote(self, name, *args, **kwargs)
Call the given remote method, and log calling and returning nicely.
  mindCallRemoteLogging(self, level, stackDepth, name, *args, **kwargs)
Call the given remote method, and log calling and returning nicely.
  perspectiveMessageReceived(self, broker, message, args, kwargs)
    Inherited from Loggable
  debug(self, *args)
Log a debug message.
dict doLog(self, level, where, format, *args, **kwargs)
Log a message at the given level, with the possibility of going higher up in the stack.
  error(self, *args)
Log an error.
  info(self, *args)
Log an informational message.
  log(self, *args)
Log a log message.
  logFunction(self, *args)
Overridable log function.
  logObjectName(self)
Overridable object name function.
  warning(self, *args)
Log a warning.
  warningFailure(self, failure, swallow)
Log a warning about a Failure.

Class Variable Summary
    Inherited from Avatar
str logCategory: Implementors can provide a category to log their messages under.
str remoteLogName: name to use to log the other side of the connection
    Inherited from Avatar
Implements __implemented__ = <implementedBy twisted.spread.pb.Avata...
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...

Method Details

setMind(self, mind)

Tell the avatar that the given mind has been attached. This gives the avatar a way to call remotely to the client that requested this avatar. This is scheduled by the portal after the client has logged in.
Parameters:
mind
           (type=twisted.spread.pb.RemoteReference)
Overrides:
flumotion.twisted.pb.Avatar.setMind (inherited documentation)

Generated by Epydoc 2.1 on Sat Apr 14 13:16:07 2007 http://epydoc.sf.net