Part of twisted.internet.win32eventreactor View Source View In Hierarchy
Implements interfaces: twisted.internet.interfaces.IReactorFDSet, twisted.internet.interfaces.IReactorProcess, twisted.internet.interfaces.IReactorWin32Events
Instance Variables | _reads | A dictionary mapping FileDescriptor
instances to a win32 event object used to check for read events for that
descriptor.
|
_writes | A dictionary mapping FileDescriptor
instances to a arbitrary value. Keys in this dictionary will be given a
chance to write out their data.
| |
_events | A dictionary mapping win32 event object to tuples of FileDescriptor
instances and event masks.
|
Method | __init__ | Undocumented |
Method | addEvent | Add a new win32 event to the event loop. |
Method | removeEvent | Remove an event. |
Method | addReader | Add a socket FileDescriptor for notification of data available to read. |
Method | addWriter | Add a socket FileDescriptor for notification of data available to write. |
Method | removeReader | Remove a Selectable for notification of data available to read. |
Method | removeWriter | Remove a Selectable for notification of data available to write. |
Method | removeAll | Remove all selectables, and return a list of them. |
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 | doWaitForMultipleEvents | Undocumented |
Method | spawnProcess | Spawn a process. |
Method | _makeSocketEvent | Make a win32 event object for a socket. |
Method | _runWrite | Undocumented |
Method | _runAction | Undocumented |
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
) |