class documentation
class CountingReactor(MemoryReactorClock): (source)
Implements interfaces: twisted.internet.interfaces.IReactorProcess
A fake reactor that counts the calls to IReactorCore.run
, IReactorCore.stop
, and IReactorProcess.spawnProcess
.
Method | __init__ |
Undocumented |
Method | run |
See IReactorCore.run . |
Method | spawn |
See IReactorProcess.spawnProcess . |
Method | stop |
See IReactorCore.stop . |
Class Variable | run |
Undocumented |
Class Variable | spawn |
Undocumented |
Class Variable | stop |
Undocumented |
Instance Variable | has |
Undocumented |
Instance Variable | running |
Undocumented |
Instance Variable | _workers |
Undocumented |
def spawnProcess(self, workerProto, executable, args=(), env={}, path=None, uid=None, gid=None, usePTY=0, childFDs=None):
(source)
¶
See IReactorProcess.spawnProcess
.
Parameters | |
worker | See IReactorProcess.spawnProcess . |
executable | Undocumented |
args | See IReactorProcess.spawnProcess . |
env | Undocumented |
path | Undocumented |
uid | Undocumented |
gid | Undocumented |
use | Undocumented |
child | Undocumented |
kwargs | See IReactorProcess.spawnProcess . |