Package flumotion :: Package manager :: Module component :: Class FeedMap
[hide private]

Class FeedMap

source code

                 object --+
                          |
extern.log.log.Loggable --+
                          |
                         FeedMap

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
componentAttached(self, avatar) source code
 
componentDetached(self, avatar) source code
 
_getFeederAvatar(self, eater, feedId) source code
 
_recalc(self) source code
list of (str, ComponentAvatar, str)
getFeedersForEaters(self, avatar)
Get the set of feeds that this component is eating from, keyed by eater alias.
source code
list of (str, ComponentAvatar, str)
getFeedersForEater(self, avatar, ffid)
Get the set of feeds that this component is eating from for the given feedId.
source code
list of (str, ComponentAvatar, str)
getEatersForFeeders(self, avatar)
Get the set of eaters that this component feeds, keyed by feeder name.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

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

Class Variables [hide private]
  logName = 'feed-map'

Inherited from extern.log.log.Loggable: __implemented__, logCategory

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

getFeedersForEaters(self, avatar)

source code 

Get the set of feeds that this component is eating from, keyed by eater alias.

Returns: list of (str, ComponentAvatar, str)
a list of (eaterAlias, feederAvatar, feedName) tuples

getFeedersForEater(self, avatar, ffid)

source code 

Get the set of feeds that this component is eating from for the given feedId.

Parameters:
  • avatar (ComponentAvatar) - the eater component
  • ffid (str) - full feed id for which to return feeders
Returns: list of (str, ComponentAvatar, str)
a list of (eaterAlias, feederAvatar, feedName) tuples

getEatersForFeeders(self, avatar)

source code 

Get the set of eaters that this component feeds, keyed by feeder name.

Returns: list of (str, ComponentAvatar, str)
a list of (feederName, eaterAvatar, eaterAlias) tuples