class documentation

class MemoryProcessReactor(MemoryReactor): (source)

Implements interfaces: twisted.internet.interfaces.IReactorCore, twisted.internet.interfaces.IReactorProcess

View In Hierarchy

A fake :py:class:`IReactorProcess` and :py:class:`IReactorCore` provider to be used in tests.

Method __init__ Undocumented
Method spawnProcess :ivar process_protocol: Stores the protocol passed to the reactor. :return: An L{IProcessTransport} provider.
Instance Variable spawnedProcesses Undocumented
def __init__(self): (source)

Undocumented

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

:ivar process_protocol: Stores the protocol passed to the reactor. :return: An L{IProcessTransport} provider.

spawnedProcesses: list = (source)

Undocumented