An extension of RaisingMemoryReactor with task.Clock.

Method __init__

Inherited from RaisingMemoryReactor:

Method adoptStreamPort Fake IReactorSocket.adoptStreamPort, that raises _listenException.
Method listenTCP Fake IReactorTCP.listenTCP, that raises _listenException.
Method connectTCP Fake IReactorTCP.connectTCP, that raises _connectException.
Method listenSSL Fake IReactorSSL.listenSSL, that raises _listenException.
Method connectSSL Fake IReactorSSL.connectSSL, that raises _connectException.
Method listenUNIX Fake IReactorUNIX.listenUNIX, that raises _listenException.
Method connectUNIX Fake IReactorUNIX.connectUNIX, that raises _connectException.
Instance Variable _listenException An instance of an Exception
Instance Variable _connectException An instance of an Exception

Inherited from Clock:

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.
Method callLater See twisted.internet.interfaces.IReactorTime.callLater.
Method getDelayedCalls See twisted.internet.interfaces.IReactorTime.getDelayedCalls
Method advance Move time on this clock forward by the given amount and run whatever pending calls should be run.
Method pump Advance incrementally by the given set of times.
Method _sortCalls Sort the pending calls according to the time they are scheduled.
def __init__(self, listenException=None, connectException=None):
ParameterslistenExceptionAn instance of an Exception to raise when any listen method is called.
connectExceptionAn instance of an Exception to raise when any connect method is called.
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.