Package flumotion :: Package common :: Module medium :: Class PingingMedium
[hide private]

Class PingingMedium

source code

 twisted.spread.jelly.Jellyable --+                
                                  |                
twisted.spread.flavors.Serializable --+            
                                      |            
   twisted.spread.flavors.Referenceable --+        
                                          |        
                           log.Loggable --+        
                                          |        
                   twisted.pb.Referenceable --+    
                                              |    
                                     BaseMedium --+
                                                  |
                                                 PingingMedium
Known Subclasses:

Instance Methods [hide private]
 
startPinging(self, disconnect) source code
 
_ping(self) source code
 
_pingCheck(self) source code
 
stopPinging(self) source code
 
_disconnect(self) source code
 
setRemoteReference(self, remote)
Set the given remoteReference as the reference to the server-side avatar.
source code

Inherited from BaseMedium: callRemote, callRemoteLogging, hasRemoteReference, runBundledFunction

Inherited from twisted.pb.Referenceable: remoteMessageReceived

Inherited from twisted.spread.flavors.Referenceable: jellyFor

Inherited from twisted.spread.flavors.Serializable: processUniqueID

Inherited from twisted.spread.jelly.Jellyable: __providedBy__, getStateFor

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

Class Variables [hide private]
  _pingInterval = 5
  _pingCheckInterval = 12.5
  _pingDC = None
  __implemented__ = <implementedBy flumotion.common.medium.Pingi...
  __provides__ = <zope.interface.declarations.ClassProvides obje...

Inherited from BaseMedium: bundleLoader, logCategory, remoteLogName

Inherited from twisted.spread.flavors.Referenceable: perspective

Instance Variables [hide private]

Inherited from BaseMedium: remote

Method Details [hide private]

startPinging(self, disconnect)

source code 
Parameters:
  • disconnect (callable) - a method to call when we do not get ping replies

setRemoteReference(self, remote)

source code 

Set the given remoteReference as the reference to the server-side avatar.

Parameters:
  • remoteReference - twisted.spread.pb.RemoteReference
Overrides: BaseMedium.setRemoteReference
(inherited documentation)

Class Variable Details [hide private]

__implemented__

Value:
<implementedBy flumotion.common.medium.PingingMedium>

__provides__

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