Package flumotion :: Package worker :: Module feed :: Class FeedMedium
[show private | hide private]
[frames | no frames]

Class FeedMedium

         Loggable --+    
                    |    
Jellyable --+       |    
            |       |    
 Serializable --+   |    
                |   |    
    Referenceable --+    
                    |    
        Referenceable --+
                        |
                       FeedMedium


I am a client for a Feed Server.

I am used as the remote interface between a component and another component.
Method Summary
  __init__(self, component)
  callRemote(self, name, *args, **kwargs)
  hasRemoteReference(self)
  remote_sendFeedReply(self, fullFeedId)
  setRemoteReference(self, remoteReference)
    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
flumotion.component.feedcomponent.FeedComponent component: the component this is a feed client for
twisted.spread.pb.RemoteReference remote: a reference to a FeedAvatar

Class Variable Summary
Implements __implemented__ = <implementedBy flumotion.worker.feed.F...
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
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

__init__(self, component)
(Constructor)

Parameters:
component - the component this is a feed client for
           (type=flumotion.component.feedcomponent.FeedComponent)

Instance Variable Details

component

the component this is a feed client for
Type:
flumotion.component.feedcomponent.FeedComponent

remote

a reference to a FeedAvatar
Type:
twisted.spread.pb.RemoteReference
Value:
None                                                                  

Class Variable Details

__implemented__

Type:
Implements
Value:
<implementedBy flumotion.worker.feed.FeedMedium>                       

__provides__

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

logCategory

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

remoteLogName

name to use to log the other side of the connection
Type:
str
Value:
'feedserver'                                                           

Generated by Epydoc 2.1 on Sat Apr 14 13:11:53 2007 http://epydoc.sf.net