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

Class GstReactor

 ReactorBase --+    
               |    
PosixReactorBase --+
                   |
                  GstReactor


GObject/Gst event loop reactor.
Method Summary
  __init__(self)
  _doReadOrWrite(self, source, condition, faildict)
  _get_fd(self, source)
  addReader(self, reader)
  addWriter(self, writer)
  callback(self, source, condition)
  crash(self)
See twisted.internet.interfaces.IReactorCore.crash.
  doIteration(self, delay)
  doIterationTimeout(self, *args)
  input_add(self, source, condition, callback)
  removeAll(self)
  removeReader(self, reader)
  removeWriter(self, writer)
  run(self, installSignalHandlers)
  simulate(self)
Run simulation loops and reschedule callbacks.
    Inherited from PosixReactorBase
  connectMulticast(self, remotehost, remoteport, protocol, localport, interface, maxPacketSize)
Connects a ConnectedDatagramProtocol instance to a UDP port.
  connectSSL(self, host, port, factory, contextFactory, timeout, bindAddress)
  connectTCP(self, host, port, factory, timeout, bindAddress)
  connectUDP(self, remotehost, remoteport, protocol, localport, interface, maxPacketSize)
Connects a ConnectedDatagramProtocol instance to a UDP port.
  connectUNIX(self, address, factory, timeout, checkPID)
  connectUNIXDatagram(self, remotehost, remoteport, protocol, localport, interface, maxPacketSize)
Connects a ConnectedDatagramProtocol instance to a UDP port.
  connectWith(self, connectorType, *args, **kw)
  installWaker(self)
Install a `waker' to allow threads and signals to wake up the IO thread.
  listenMulticast(self, port, protocol, interface, maxPacketSize)
Connects a given DatagramProtocol to the given numeric UDP port.
  listenSSL(self, port, factory, contextFactory, backlog, interface)
  listenTCP(self, port, factory, backlog, interface)
  listenUDP(self, port, protocol, interface, maxPacketSize)
Connects a given DatagramProtocol to the given numeric UDP port.
  listenUNIX(self, address, factory, backlog, mode, wantPID)
  listenUNIXDatagram(self, port, protocol, interface, maxPacketSize)
Connects a given DatagramProtocol to the given numeric UDP port.
  listenWith(self, portType, *args, **kw)
  mainLoop(self)
  spawnProcess(self, processProtocol, executable, args, env, path, uid, gid, usePTY, childFDs)
  startRunning(self, installSignalHandlers)
  _handleSigchld(self, signum, frame)
Reap all processes on SIGCHLD.
  _handleSignals(self)
Install the signal handlers for the Twisted event loop.
    Inherited from ReactorBase
  addSystemEventTrigger(self, _phase, _eventType, _f, *args, **kw)
See twisted.internet.interfaces.IReactorCore.addSystemEventTrigger.
  callFromThread(self, f, *args, **kw)
See twisted.internet.interfaces.IReactorThreads.callFromThread.
  callInThread(self, _callable, *args, **kwargs)
See twisted.internet.interfaces.IReactorThreads.callInThread.
  callLater(self, _seconds, _f, *args, **kw)
See twisted.internet.interfaces.IReactorTime.callLater.
  callWhenRunning(self, _callable, *args, **kw)
See twisted.internet.interfaces.IReactorCore.callWhenRunning.
  cancelCallLater(self, callID)
See twisted.internet.interfaces.IReactorTime.cancelCallLater.
  clientSSL(self, host, port, protocol, contextFactory, timeout)
Deprecated - use connectSSL instead.
  clientTCP(self, host, port, protocol, timeout)
Deprecated - use connectTCP instead.
  clientUNIX(self, address, protocol, timeout)
Deprecated - use connectUNIX instead.
  disconnectAll(self)
Disconnect every reader, and writer in the system.
  fireSystemEvent(self, eventType)
See twisted.internet.interfaces.IReactorCore.fireSystemEvent.
  getDelayedCalls(self)
  initThreads(self)
  installResolver(self, resolver)
  iterate(self, delay)
See twisted.internet.interfaces.IReactorCore.iterate.
  removeSystemEventTrigger(self, triggerID)
See twisted.internet.interfaces.IReactorCore.removeSystemEventTrigger.
  resolve(self, name, timeout)
Return a Deferred that will resolve a hostname.
  runUntilCurrent(self)
Run all pending timed calls.
  sigBreak(self, *args)
Handle a SIGBREAK interrupt.
  sigInt(self, *args)
Handle a SIGINT interrupt.
  sigTerm(self, *args)
Handle a SIGTERM interrupt.
  stop(self)
See twisted.internet.interfaces.IReactorCore.stop.
  suggestThreadPoolSize(self, size)
See twisted.internet.interfaces.IReactorThreads.suggestThreadPoolSize.
  timeout(self)
  wakeUp(self)
Wake up the event loop.
  _cbContinueSystemEvent(self, result, eventType)
  _continueSystemEvent(self, eventType)
  _initThreadPool(self)
  _internalResolve(self, name, timeout)
  _resetCallLater(self, tple)

Class Variable Summary
tuple __implements__ = (((<class 'twisted.internet.interfaces....
NoneType doIterationTimer = None                                                                  
    Inherited from ReactorBase
str __name__ = 'ReactorBase'
int installed = 0                                                                     
NoneType threadCallQueue = None                                                                  
NoneType threadpool = None                                                                  
NoneType _lock = None                                                                  

Method Details

crash(self)

See twisted.internet.interfaces.IReactorCore.crash.
Overrides:
twisted.internet.base.ReactorBase.crash (inherited documentation)

simulate(self)

Run simulation loops and reschedule callbacks.

Class Variable Details

__implements__

Type:
tuple
Value:
(((<class 'twisted.internet.interfaces.IReactorCore'>,
   <class 'twisted.internet.interfaces.IReactorTime'>,
   <class 'twisted.internet.interfaces.IReactorThreads'>,
   <class 'twisted.internet.interfaces.IReactorPluggableResolver'>),
  <class 'twisted.internet.interfaces.IReactorArbitrary'>,
  <class 'twisted.internet.interfaces.IReactorTCP'>,
  <class 'twisted.internet.interfaces.IReactorUDP'>,
  <class 'twisted.internet.interfaces.IReactorMulticast'>,
...                                                                    

doIterationTimer

Type:
NoneType
Value:
None                                                                  

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