Package flumotion :: Package worker :: Module feedserver :: Class FeedAvatar
[hide private]

Class FeedAvatar

source code

twisted.spread.pb.Avatar --+    
                           |    
 extern.log.log.Loggable --+    
                           |    
           twisted.pb.Avatar --+
                               |
                              FeedAvatar

I am an avatar in a FeedServer for components that log in and request to eat from or feed to one of my components.

My mind is a reference to a flumotion.component.feed.FeedMedium

Instance Methods [hide private]
 
__init__(self, feedServer, avatarId, mind) source code
 
perspective_sendFeed(self, fullFeedId)
Called when the PB client wants us to send them the given feed.
source code
 
_sendFeedReplyCb(self, result, fullFeedId) source code
 
perspective_receiveFeed(self, fullFeedId)
Called when the PB client wants to send the given feedId to the given component
source code
 
_doReceiveFeed(self, fullFeedId) source code

Inherited from twisted.pb.Avatar: disconnect, mindCallRemote, mindCallRemoteLogging, perspectiveMessageReceived, perspectiveMessageReceivedUnserialised, setMind

Inherited from twisted.spread.pb.Avatar: __providedBy__

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

Class Variables [hide private]
  logCategory = 'feedavatar'
Implementors can provide a category to log their messages under.
str remoteLogName = 'feedmedium'
name to use to log the other side of the connection

Inherited from twisted.spread.pb.Avatar: __implemented__, __provides__

Method Details [hide private]

__init__(self, feedServer, avatarId, mind)
(Constructor)

source code 
Overrides: twisted.pb.Avatar.__init__