Package flumotion :: Package twisted :: Module pb :: Class PingableAvatar
[hide private]

Class PingableAvatar

source code

twisted.spread.pb.Avatar --+    
                           |    
 extern.log.log.Loggable --+    
                           |    
                      Avatar --+
                               |
                              PingableAvatar
Known Subclasses:

Instance Methods [hide private]
 
perspective_ping(self) source code
 
startPingChecking(self, disconnect) source code
 
_pingCheck(self) source code
 
stopPingChecking(self) source code
 
setMind(self, mind)
Tell the avatar that the given mind has been attached.
source code

Inherited from Avatar: __init__, disconnect, mindCallRemote, mindCallRemoteLogging, perspectiveMessageReceived, perspectiveMessageReceivedUnserialised

Inherited from twisted.spread.pb.Avatar: __providedBy__

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

Class Variables [hide private]
  _pingCheckInterval = 12.5

Inherited from Avatar: logCategory, remoteLogName

Inherited from twisted.spread.pb.Avatar: __implemented__, __provides__

Method Details [hide private]

setMind(self, mind)

source code 

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.

It is best to call setMind() from within the avatar's __init__ method. Some old code still does this via a callLater, however.

Overrides: Avatar.setMind
(inherited documentation)