class documentation

class RaisingMemoryReactorWithClock(RaisingMemoryReactor, Clock): (source)

View In Hierarchy

An extension of RaisingMemoryReactor with task.Clock.

Method __init__ No summary

Inherited from RaisingMemoryReactor:

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

Inherited from Clock (via RaisingMemoryReactor):

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, listenException=None, connectException=None): (source)
Parameters
listenExceptionAn 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.