Package twisted :: Package manhole :: Module gladereactor :: Class GladeReactor
[frames | no frames]

Class GladeReactor

 ReactorBase --+        
               |        
PosixReactorBase --+    
                   |    
         Gtk2Reactor --+
                       |
                      GladeReactor


GTK+-2 event loop reactor with GUI.
Method Summary
  __init__(self)
  _goAway(self, reader)
  _maybeAddServer(self, reader, read, write)
  addReader(self, reader)
  addWriter(self, writer)
  connectSSL(self, host, port, factory, contextFactory, timeout, bindAddress)
  connectTCP(self, host, port, factory, timeout, bindAddress)
  connectUNIX(self, address, factory, timeout)
  crash(self)
See twisted.internet.interfaces.IReactorCore.crash.
  listenSSL(self, port, factory, contextFactory, backlog, interface)
  listenTCP(self, port, factory, backlog, interface)
  listenUNIX(self, address, factory, backlog, mode)
  on_disconnect_clicked(self, w)
  on_inspect_clicked(self, w)
  on_quit_clicked(self, w)
  on_suspend_clicked(self, w)
  on_viewlog_clicked(self, w)
  removeReader(self, reader)
  removeWriter(self, writer)
  run(self, installSignalHandlers)
  servers_selection_changed(self, w)
  toggle_suspend(self, suspending)
    Inherited from Gtk2Reactor
  _doReadOrWrite(self, source, condition, faildict)
  callback(self, source, condition)
  doIteration(self, delay)
  doIterationTimeout(self, *args)
  input_add(self, source, condition, callback)
  removeAll(self)
  simulate(self)
Run simulation loops and reschedule callbacks.
    Inherited from PosixReactorBase
  _handleSigchld(self, signum, frame)
Reap all processes on SIGCHLD.
  _handleSignals(self)
Install the signal handlers for the Twisted event loop.
  connectMulticast(self, remotehost, remoteport, protocol, localport, interface, maxPacketSize)
Connects a ConnectedDatagramProtocol instance to a UDP port.
  connectUDP(self, remotehost, remoteport, protocol, localport, interface, maxPacketSize)
DEPRECATED.
  connectUNIXDatagram(self, address, protocol, maxPacketSize, mode, bindAddress)
Connects a ConnectedDatagramProtocol instance to a path.
  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.
  listenUDP(self, port, protocol, interface, maxPacketSize)
Connects a given DatagramProtocol to the given numeric UDP port.
  listenUNIXDatagram(self, address, protocol, maxPacketSize, mode)
Connects a given DatagramProtocol to the given path.
  listenWith(self, portType, *args, **kw)
  mainLoop(self)
  spawnProcess(self, processProtocol, executable, args, env, path, uid, gid, usePTY, childFDs)
  startRunning(self, installSignalHandlers)
    Inherited from ReactorBase
  _cbContinueSystemEvent(self, result, eventType)
  _continueSystemEvent(self, eventType)
  _initThreadPool(self)
  _internalResolve(self, name, timeout)
  _resetCallLater(self, tple)
  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.

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

Method Details

connectSSL(self, host, port, factory, contextFactory, timeout=30, bindAddress=None)

Overrides:
twisted.internet.default.PosixReactorBase.connectSSL (inherited documentation)

See Also: twisted.internet.interfaces.IReactorSSL.connectSSL

connectTCP(self, host, port, factory, timeout=30, bindAddress=None)

Overrides:
twisted.internet.default.PosixReactorBase.connectTCP (inherited documentation)

See Also: twisted.internet.interfaces.IReactorTCP.connectTCP

crash(self)

See twisted.internet.interfaces.IReactorCore.crash.
Overrides:
twisted.internet.gtk2reactor.Gtk2Reactor.crash (inherited documentation)

listenSSL(self, port, factory, contextFactory, backlog=5, interface='')

Overrides:
twisted.internet.default.PosixReactorBase.listenSSL (inherited documentation)

See Also: twisted.internet.interfaces.IReactorSSL.listenSSL

listenTCP(self, port, factory, backlog=5, interface='')

Overrides:
twisted.internet.default.PosixReactorBase.listenTCP (inherited documentation)

See Also: twisted.internet.interfaces.IReactorTCP.listenTCP


Generated by Epydoc 2.0 on Sat May 15 20:08:42 2004 http://epydoc.sf.net