t.i.w._ThreadedWin32EventsMixin(object) : class documentation

Part of twisted.internet.win32eventreactor View Source View In Hierarchy

Known subclasses: twisted.internet.iocpreactor.reactor.IOCPReactor

Implements interfaces: twisted.internet.interfaces.IReactorWin32Events

This mixin implements IReactorWin32Events for another reactor by running a Win32Reactor in a separate thread and dispatching work to it.
Method addEvent
Method removeEvent
Instance Variable _reactor The Win32Reactor running in the other thread. This is None until it is actually needed.
Instance Variable _reactorThread The threading.Thread which is running the Win32Reactor. This is None until it is actually needed.
Method _unmakeHelperReactor Stop and discard the reactor started by _makeHelperReactor.
Method _makeHelperReactor Create and (in a new thread) start a Win32Reactor instance to use for the implementation of IReactorWin32Events.
_reactor =
The Win32Reactor running in the other thread. This is None until it is actually needed.
_reactorThread =
The threading.Thread which is running the Win32Reactor. This is None until it is actually needed.
def _unmakeHelperReactor(self): (source)
Stop and discard the reactor started by _makeHelperReactor.
def _makeHelperReactor(self): (source)
Create and (in a new thread) start a Win32Reactor instance to use for the implementation of IReactorWin32Events.
def addEvent(self, event, fd, action): (source)
See AlsoIReactorWin32Events
def removeEvent(self, event): (source)
See AlsoIReactorWin32Events
API Documentation for Twisted, generated by pydoctor at 2012-12-26 12:18:15.