class twisted.internet.interfaces.IReactorWin32Events(Interface): (source)
Known implementations: twisted.internet.win32eventreactor._ThreadedWin32EventsMixin, twisted.internet.win32eventreactor.Win32Reactor
Win32 Event API methods
Present Since | 10.2 |
Method | addEvent | Add a new win32 event to the event loop. |
Method | removeEvent | Remove an event. |
Add a new win32 event to the event loop.
Parameters | event | a Win32 event object created using win32event.CreateEvent() (type: object ) |
fd | an instance of twisted.internet.abstract.FileDescriptor (type: FileDescriptor ) | |
action | a string that is a method name of the fd instance. This method is called in response to the event. (type: str ) |
Remove an event.
Parameters | event | a Win32 event object added using IReactorWin32Events.addEvent (type: object ) |
Returns | None |