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