A win32event based implementation of the Twisted main loop.
This requires pywin32 (formerly win32all) or ActivePython to be installed.
To install the event loop (and you should do this before any connections, listeners or connectors are added):
from twisted.internet import win32eventreactor win32eventreactor.install()
LIMITATIONS:
twisted.internet.process
docstring).TODO:
ALTERNATIVE SOLUTIONS:
Or:
The 2nd solution is probably what will get implemented.
Function | WSAEnumNetworkEvents | Undocumented |
Class | Win32Reactor | Reactor that uses Win32 event APIs. |
Function | install | Undocumented |
Class | _ThreadFDWrapper | This wraps an event handler and translates notification in the helper Win32Reactor thread into a notification in the primary reactor thread. |
Class | _ThreadedWin32EventsMixin | This mixin implements IReactorWin32Events for another reactor by running a Win32Reactor in a separate thread and dispatching work to it. |