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

Class FeedComponentMedium

         Loggable --+    
                    |    
Jellyable --+       |    
            |       |    
 Serializable --+   |    
                |   |    
    Referenceable --+    
                    |    
  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_pause(self)
  remote_play(self)
  remote_setElementProperty(self, elementName, property, value)
    Inherited from BaseComponentMedium
  callRemote(self, name, *args, **kwargs)
Return a deferred
  callRemoteErrback(self, failure, name)
  getIP(self)
Return our own IP as seen from the manager.
  hasRemoteReference(self)
  remote_callMethod(self, methodName, *args, **kwargs)
  remote_reloadComponent(self)
Reload modules in the component.
  remote_start(self, *args, **kwargs)
  remote_stop(self)
  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.

Class Variable Summary
tuple __implements__ = (<class 'flumotion.common.interfaces.IC...
str logCategory: Implementors can provide a category to log their messages under.
    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 Wed Feb 16 07:22:59 2005 http://epydoc.sf.net