Package flumotion :: Package twisted :: Module gstreactor
[show private | hide private]
[frames | no frames]

Module flumotion.twisted.gstreactor

a GStreamer mainloop-based Twisted reactor

In order to use this support, simply do the following:
   |  from twisted.internet import gstreactor
   |  gstreactor.install()

Then use twisted.internet APIs as usual. The other methods here are not intended to be called directly.

API Stability: unstable
Classes
GstReactor GObject/Gst event loop reactor.

Function Summary
  install()
Configure the twisted mainloop to be run inside the gtk mainloop.
  hasReader(key)
  hasWriter(key)

Variable Summary
int _simtag = 3                                                                     
int INFLAGS = 57                                                                    
int OUTFLAGS = 60                                                                    
int POLL_DISCONNECTED = 56                                                                    
dict reads = {<twisted.internet.default._UnixWaker instance a...
dict writes = {}

Function Details

install()

Configure the twisted mainloop to be run inside the gtk mainloop.

Variable Details

_simtag

Type:
int
Value:
3                                                                     

INFLAGS

Type:
int
Value:
57                                                                    

OUTFLAGS

Type:
int
Value:
60                                                                    

POLL_DISCONNECTED

Type:
int
Value:
56                                                                    

reads

Type:
dict
Value:
{<twisted.internet.default._UnixWaker instance at 0xb7f36eac>: 2}      

writes

Type:
dict
Value:
{}                                                                     

Generated by Epydoc 2.1 on Wed Feb 16 07:23:00 2005 http://epydoc.sf.net