viff :: reactor :: ViffReactor :: Class ViffReactor
[hide private]
[frames] | no frames]

Class ViffReactor

source code


VIFF reactor.

The only difference to the SelectReactor is the loop call. From there, doIteration() can be called recursively.

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
setLoopCall(self, f) source code
 
doIteration(self, t)
Run one iteration of the I/O monitor loop.
source code

Inherited from twisted.internet.selectreactor.SelectReactor: addReader, addWriter, doSelect, removeAll, removeReader, removeWriter

Inherited from twisted.internet.selectreactor.SelectReactor (private): _doReadOrWrite, _preenDescriptors

Inherited from twisted.internet.posixbase.PosixReactorBase: connectSSL, connectTCP, connectUDP, connectUNIX, connectUNIXDatagram, connectWith, installWaker, listenMulticast, listenSSL, listenTCP, listenUDP, listenUNIX, listenUNIXDatagram, listenWith, mainLoop, run, spawnProcess, startRunning

Inherited from twisted.internet.posixbase.PosixReactorBase (private): _checkProcessArgs, _disconnectSelectable, _handleSigchld, _handleSignals, _removeAll

Inherited from twisted.internet.base.ReactorBase: __providedBy__, addSystemEventTrigger, callFromThread, callInThread, callLater, callWhenRunning, cancelCallLater, crash, disconnectAll, fireSystemEvent, getDelayedCalls, installResolver, iterate, removeSystemEventTrigger, resolve, runUntilCurrent, sigBreak, sigInt, sigTerm, stop, suggestThreadPoolSize, timeout, wakeUp

Inherited from twisted.internet.base.ReactorBase (private): _cancelCallLater, _cbContinueSystemEvent, _continueSystemEvent, _initThreadPool, _initThreads, _insertNewDelayedCalls, _moveCallLaterSooner

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]

Inherited from twisted.internet.selectreactor.SelectReactor: __implemented__, __provides__

Inherited from twisted.internet.base.ReactorBase: __name__, installed, resolver, threadpool, usingThreads

Inherited from twisted.internet.base.ReactorBase (private): _lock

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

doIteration(self, t)

source code 

Run one iteration of the I/O monitor loop.

This will run all selectables who had input or output readiness waiting for them.

Overrides: twisted.internet.base.ReactorBase.doIteration
(inherited documentation)