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

Class FeedAvatar

source code

twisted.spread.pb.Avatar --+    
                           |    
     common.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 FeedMedium

Instance Methods [hide private]
 
__init__(self, feedServerParent, avatarId) source code
 
attached(self, mind) source code
 
detached(self) 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, componentId, feedId)
Called when the PB client wants to send the given feedId to the given component
source code
 
_doReceiveFeed(self, componentId, feedId) source code

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

Inherited from twisted.spread.pb.Avatar: __providedBy__

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

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, feedServerParent, avatarId)
(Constructor)

source code 
Parameters:
Overrides: twisted.pb.Avatar.__init__