Package flumotion :: Package component :: Module feedcomponent :: Class FeedComponentMedium
[show private | hide private]
[frames | no frames]

Class FeedComponentMedium

         Loggable --+        
                    |        
Jellyable --+       |        
            |       |        
 Serializable --+   |        
                |   |        
    Referenceable --+        
                    |        
           BaseMedium --+    
                        |    
      BaseComponentMedium --+
                            |
                           FeedComponentMedium


I am a component-side medium for a FeedComponent to interface with the manager-side ComponentAvatar.
Method Summary
  __init__(self, component)
  remote_effect(self, effectName, methodName, *args, **kwargs)
  remote_getElementProperty(self, elementName, property)
  remote_getFreePorts(self, feeders)
flumotion.common.planet.WorkerJobState remote_getState(self)
  remote_setElementProperty(self, elementName, property, value)
    Inherited from BaseComponentMedium
  getIP(self)
Return our own IP as seen from the manager.
  remote_callMethod(self, methodName, *args, **kwargs)
dict remote_getConfig(self)
Return the configuration of the component.
  remote_getUIState(self)
Get a WorkerComponentUIState containing details needed to present an admin-side UI state
  remote_reloadComponent(self)
Reload modules in the component.
  remote_start(self, *args, **kwargs)
  remote_stop(self)
  _destroyCallback(self, result)
  _reloaded(self)
    Inherited from BaseMedium
  callRemote(self, name, *args, **kwargs)
  hasRemoteReference(self)
  loadModule(self, moduleName)
  run_bundled_proc(self, *args, **kwargs)
  setRemoteReference(self, remoteReference)
    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.
  warningFailure(self, failure)
Log a warning about a Failure.

Class Variable Summary
tuple __implements__ = (<class 'flumotion.common.interfaces.IC...
str logCategory: Implementors can provide a category to log their messages under.
    Inherited from BaseMedium
NoneType bundleLoader = None                                                                  
NoneType remote = None                                                                  
    Inherited from Referenceable
NoneType perspective = None                                                                  

Method Details

__init__(self, component)
(Constructor)

Parameters:
component - flumotion.component.feedcomponent.FeedComponent
Overrides:
flumotion.component.component.BaseComponentMedium.__init__

remote_getState(self)

Returns:
flumotion.common.planet.WorkerJobState
Overrides:
flumotion.component.component.BaseComponentMedium.remote_getState

Class Variable Details

__implements__

Type:
tuple
Value:
(<class 'flumotion.common.interfaces.IComponentMedium'>,)              

logCategory

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

Generated by Epydoc 2.1 on Tue Dec 20 15:33:10 2005 http://epydoc.sf.net