Package flumotion :: Package component :: Module feedcomponent010 :: Class Eater
[show private | hide private]
[frames | no frames]

Class Eater


This class groups eater-related information as used by a Feed Component.
Method Summary
  __init__(self, eaterId)
  connected(self, fd, when)
The eater has been connected.
  disconnected(self, when)
The eater has been disconnected.
  offsetDiscont(self, units, offset)
Inform the eater of an offset discontinuity.
  timestampDiscont(self, seconds, timestamp)

Instance Variable Summary
  eaterId: id of the feed this is eating from
  uiState: the serializable UI State for this eater

Method Details

connected(self, fd, when=None)

The eater has been connected. Update related stats.

disconnected(self, when=None)

The eater has been disconnected. Update related stats.

offsetDiscont(self, units, offset)

Inform the eater of an offset discontinuity. This is called from a bus message handler, so in the main thread.

timestampDiscont(self, seconds, timestamp)

Parameters:
seconds - discont duration in seconds
timestamp -

GStreamer timestamp of new buffer, in seconds.

Inform the eater of a timestamp discontinuity. This is called from a bus message handler, so in the main thread.

Instance Variable Details

eaterId

id of the feed this is eating from

uiState

the serializable UI State for this eater

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