class documentation
class FSSetClock(Clock, ReactorFDSet): (source)
An FSSetClock
is a IReactorFDSet
and an IReactorClock
.
Method | __init__ |
Undocumented |
Inherited from Clock
:
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. |
Inherited from ReactorFDSet
(via Clock
):
Method | get |
Return the list of file descriptors currently monitored for input events by the reactor. |
Method | get |
Return the list file descriptors currently monitored for output events by the reactor. |
Method | remove |
Remove all readers and writers. |
Method | remove |
Removes an object previously added with addReader . |
Method | remove |
Removes an object previously added with addWriter . |
Instance Variable | add |
I add reader to the set of file descriptors to get read events for. |
Instance Variable | add |
I add writer to the set of file descriptors to get write events for. |
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. |