class documentation
class RaisingMemoryReactorWithClock(RaisingMemoryReactor, Clock): (source)
An extension of RaisingMemoryReactor
with task.Clock
.
Method | __init__ |
No summary |
Inherited from RaisingMemoryReactor
:
Method | adopt |
Fake IReactorSocket.adoptDatagramPort , that raises _connectException . |
Method | adopt |
Fake IReactorSocket.adoptStreamConnection , that raises _connectException . |
Method | adopt |
Fake IReactorSocket.adoptStreamPort , that raises _listenException . |
Method | connect |
Fake IReactorSSL.connectSSL , that raises _connectException . |
Method | connect |
Fake IReactorTCP.connectTCP , that raises _connectException . |
Method | connect |
Fake IReactorUNIX.connectUNIX , that raises _connectException . |
Method | listen |
Fake IReactorSSL.listenSSL , that raises _listenException . |
Method | listen |
Fake IReactorTCP.listenTCP , that raises _listenException . |
Method | listen |
Fake IReactorUNIX.listenUNIX , that raises _listenException . |
Instance Variable | _connect |
An instance of an Exception |
Instance Variable | _listen |
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 | call |
See twisted.internet.interfaces.IReactorTime.callLater . |
Method | get |
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 | right |
Undocumented |
Instance Variable | calls |
Undocumented |
Method | _sort |
Sort the pending calls according to the time they are scheduled. |