Package flumotion :: Package common :: Module medium :: Class PingingMedium
[show private | hide private]
[frames | no frames]

Class PingingMedium

         Loggable --+        
                    |        
Jellyable --+       |        
            |       |        
 Serializable --+   |        
                |   |        
    Referenceable --+        
                    |        
        Referenceable --+    
                        |    
               BaseMedium --+
                            |
                           PingingMedium

Known Subclasses:
AdminModel, BaseComponentMedium, WorkerMedium

Method Summary
  setRemoteReference(self, remote)
  startPinging(self, disconnect)
  stopPinging(self)
  _disconnect(self)
  _ping(self)
  _pingCheck(self)
    Inherited from BaseMedium
  callRemote(self, name, *args, **kwargs)
Call the given method with the given arguments remotely on the server-side avatar.
  callRemoteLogging(self, level, stackDepth, name, *args, **kwargs)
Call the given method with the given arguments remotely on the server-side avatar.
  hasRemoteReference(self)
Does the medium have a remote reference to a server-side avatar ?
  runBundledFunction(self, *args, **kwargs)
    Inherited from Referenceable
  remoteMessageReceived(self, broker, message, args, kwargs)
    Inherited from Referenceable
  jellyFor(self, jellier)
(internal)
    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.
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.

Instance Variable Summary
    Inherited from BaseMedium
twisted.spread.pb.RemoteReference remote: a remote reference to the server-side object on which perspective_(methodName) methods can be called

Class Variable Summary
Implements __implemented__ = <implementedBy flumotion.common.medium...
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
float _pingCheckInterval = 12.5                                                                  
NoneType _pingDC = None                                                                  
int _pingInterval = 5                                                                     
    Inherited from BaseMedium
flumotion.common.bundleclient.BundleLoader bundleLoader = None                                                                  
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 Referenceable
NoneType perspective = None                                                                  
    Inherited from Jellyable
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...

Method Details

startPinging(self, disconnect)

Parameters:
disconnect - a method to call when we do not get ping replies
           (type=callable)

Class Variable Details

__implemented__

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

__provides__

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

_pingCheckInterval

Type:
float
Value:
12.5                                                                  

_pingDC

Type:
NoneType
Value:
None                                                                  

_pingInterval

Type:
int
Value:
5                                                                     

Generated by Epydoc 2.1 on Sun Oct 26 16:39:16 2008 http://epydoc.sf.net