class documentation

class DummyProcessReactor(MemoryReactor, Clock): (source)

View In Hierarchy

Method __init__ Undocumented
Method spawnProcess Fake reactor.spawnProcess, that logs all the process arguments and returns a DummyProcess.
Instance Variable spawnedProcesses a list that keeps track of the fake process instances built by spawnProcess.

Inherited from Clock:

Method advance Move time on this clock forward by the given amount and run whatever pending calls should be run.
Method callLater See twisted.internet.interfaces.IReactorTime.callLater.
Method getDelayedCalls See twisted.internet.interfaces.IReactorTime.getDelayedCalls
Method pump Advance incrementally by the given set of times.
Method seconds Pretend to be time.time(). This is used internally when an operation such as IDelayedCall.reset needs to determine a time value relative to the current time.
Class Variable rightNow Undocumented
Instance Variable calls Undocumented
Method _sortCalls Sort the pending calls according to the time they are scheduled.
def __init__(self): (source)

Undocumented

def spawnProcess(self, processProtocol, executable, args=(), env={}, path=None, uid=None, gid=None, usePTY=0, childFDs=None): (source)

Fake reactor.spawnProcess, that logs all the process arguments and returns a DummyProcess.

spawnedProcesses: list = (source)

a list that keeps track of the fake process instances built by spawnProcess.