twisted.pair.test.test_tuntap.FSSetClock(Clock, ReactorFDSet)
class documentationtwisted.pair.test.test_tuntap
(View In Hierarchy)
An FSSetClock
is a IReactorFDSet
and an IReactorClock
.
Method | __init__ | Undocumented |
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 ReactorFDSet:
Method | removeReader | Removes an object previously added with addReader . |
Method | removeWriter | Removes an object previously added with addWriter . |
Method | getReaders | Return the list of file descriptors currently monitored for input events by the reactor. |
Method | getWriters | Return the list file descriptors currently monitored for output events by the reactor. |
Method | removeAll | Remove all readers and writers. |
Instance Variable | _readers | A set
of IReadDescriptor
providers which the reactor is supposedly monitoring for read events. |
Instance Variable | _writers | A set
of IWriteDescriptor
providers which the reactor is supposedly monitoring for write events. |