Part of twisted.internet.gtk2reactor View Source View In Hierarchy
Known subclasses: twisted.internet.glib2reactor.Glib2Reactor, twisted.manhole.gladereactor.GladeReactor
Implements interfaces: twisted.internet.interfaces.IReactorFDSet
Instance Variables | _reads | A dictionary mapping FileDescriptor
instances to gtk INPUT_READ watch handles.
|
_writes | A dictionary mapping FileDescriptor
instances to gtk INTPUT_WRITE watch handles.
| |
_simtag | A gtk timeout handle for the next simulate
call.
|
Method | __init__ | Undocumented |
Method | input_add | Undocumented |
Method | addReader | I add reader to the set of file descriptors to get read events for. |
Method | addWriter | I add writer to the set of file descriptors to get write events for. |
Method | getReaders | Return the list of file descriptors currently monitored for input |
Method | getWriters | Return the list file descriptors currently monitored for output events |
Method | removeAll | Remove all readers and writers. |
Method | removeReader | Removes an object previously added with addReader . |
Method | removeWriter | Removes an object previously added with addWriter . |
Method | doIterationTimeout | Undocumented |
Method | doIteration | Undocumented |
Method | crash | Undocumented |
Method | run | Undocumented |
Method | callback | Undocumented |
Method | simulate | Run simulation loops and reschedule callbacks. |
Method | _doReadOrWrite | Undocumented |
Parameters | reader | An IReadDescriptor
provider that will be checked for read events until it is removed from the
reactor with removeReader .
|
Returns | None .
|
Parameters | writer | An IWriteDescriptor
provider that will be checked for read events until it is removed from the
reactor with removeWriter .
|
Returns | None .
|
Returns | the list of file descriptors monitored for input events.
(type: list of IReadDescriptor
) |
Returns | the list of file descriptors monitored for output events.
(type: list of IWriteDescriptor
) |
Should not remove reactor internal reactor connections (like a waker).
Returns | A list of IReadDescriptor
and IWriteDescriptor
providers which were removed.
|
addReader
.Returns | None .
|
addWriter
.Returns | None .
|