twisted.test.proto_helpers.MemoryReactorClock(MemoryReactor, Clock) class documentationtwisted.test.proto_helpers
          View Source
          (View In Hierarchy)
        
      | Method | __init__ | Initialize the tracking lists. | 
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. | 
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. |