twisted.internet.test.test_endpoints.RaisingMemoryReactorWithClock(RaisingMemoryReactor, Clock)
class documentationtwisted.internet.test.test_endpoints
(View In Hierarchy)
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. |