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 | _sources | A dictionary mapping FileDescriptor
instances to gtk watch handles.
|
_reads | A set of FileDescriptor
instances currently monitored for reading.
| |
_writes | A set of FileDescriptor
instances currently monitored for writing.
| |
_simtag | A gtk timeout handle for the next simulate
call.
|
Method | __init__ | Undocumented |
Method | input_add | Undocumented |
Method | addReader | Add a FileDescriptor
for monitoring of data available to read. |
Method | addWriter | Add a FileDescriptor
for monitoring ability to write data. |
Method | getReaders | Retrieve the list of current FileDescriptor
monitored for reading. |
Method | getWriters | Retrieve the list of current FileDescriptor
monitored for writing. |
Method | removeAll | Remove monitoring for all registered FileDescriptor s. |
Method | removeReader | Stop monitoring the given FileDescriptor
for reading. |
Method | removeWriter | Stop monitoring the given FileDescriptor
for writing. |
Method | doIterationTimeout | Undocumented |
Method | doIteration | Undocumented |
Method | crash | Undocumented |
Method | run | Undocumented |
Method | callback | Undocumented |
Method | simulate | Run simulation loops and reschedule callbacks. |
Method | _handleSignals | Undocumented |
Method | _add | Add the given FileDescriptor
for monitoring either for reading or |
Method | _remove | Remove monitoring the given FileDescriptor
for either reading or |
Method | _doReadOrWrite | Undocumented |
FileDescriptor
for monitoring either for reading or writing. If the file is already
monitored for the other operation, we delete the previous registration and
re-register it for both reading and writing.FileDescriptor
for monitoring of data available to read.FileDescriptor
for monitoring ability to write data.FileDescriptor
for either reading or writing. If it's still monitored for the other
operation, we re-register the FileDescriptor
for only that operation.FileDescriptor
for reading.FileDescriptor
for writing.