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

Class FeederClient


This class groups information related to the client of a feeder. The client is identified by an id. The information remains valid for the lifetime of the feeder, so it can track reconnects of the client.
Method Summary
  __init__(self, clientId)
  connected(self, fd, when)
The client has connected on this fd.
  disconnected(self, when)
The client has disconnected.
  setStats(self, stats)

Instance Variable Summary
  clientId: id of the client of the feeder
  fd: file descriptor the client is currently using, or None.

Method Details

connected(self, fd, when=None)

The client has connected on this fd. Update related stats.

Called only from the reactor thread.

disconnected(self, when=None)

The client has disconnected. Update related stats.

Called from GStreamer threads.

setStats(self, stats)

Parameters:
stats
           (type=list)

Instance Variable Details

clientId

id of the client of the feeder

fd

file descriptor the client is currently using, or None.

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