twisted.internet.iocpreactor.reactor.IOCPReactor(base._SignalReactorMixin, base.ReactorBase, _ThreadedWin32EventsMixin) class documentationtwisted.internet.iocpreactor.reactor
View Source
(View In Hierarchy)
Implements interfaces: twisted.internet.interfaces.IReactorMulticast, twisted.internet.interfaces.IReactorProcess, twisted.internet.interfaces.IReactorTCP, twisted.internet.interfaces.IReactorUDP
| Method | __init__ | Undocumented |
| Method | addActiveHandle | Undocumented |
| Method | removeActiveHandle | Undocumented |
| Method | doIteration | Poll the IO completion port for new events. |
| Method | installWaker | Undocumented |
| Method | wakeUp | Wake up the event loop. |
| Method | registerHandle | Undocumented |
| Method | createSocket | Undocumented |
| Method | listenTCP | |
| Method | connectTCP | |
| Method | listenSSL 0 | |
| Method | connectSSL 0 | |
| Method | listenSSL | Non-implementation of IReactorSSL.listenSSL.
Some dependency is not satisfied. This implementation always raises NotImplementedError. |
| Method | connectSSL | Non-implementation of IReactorSSL.connectSSL.
Some dependency is not satisfied. This implementation always raises NotImplementedError. |
| Method | listenUDP | Connects a given DatagramProtocol
to the given numeric UDP port. |
| Method | listenMulticast | Connects a given DatagramProtocol to the given numeric UDP port. |
| Method | spawnProcess | Spawn a process. |
| Method | removeAll | Undocumented |
| Method | _callEventCallback | Undocumented |
Inherited from _ThreadedWin32EventsMixin:
| 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. |
Inherited from _ThreadedWin32EventsMixin:
| 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. |
Inherited from _ThreadedWin32EventsMixin:
| 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. |
Wake up the event loop.
| See Also | twisted.internet.interfaces.IReactorTCP.listenTCP | |
| See Also | twisted.internet.interfaces.IReactorTCP.connectTCP | |
| See Also | twisted.internet.interfaces.IReactorSSL.listenSSL | |
| See Also | twisted.internet.interfaces.IReactorSSL.connectSSL | |
Non-implementation of IReactorSSL.listenSSL.
Some dependency is not satisfied. This implementation always raises NotImplementedError.
Non-implementation of IReactorSSL.connectSSL.
Some dependency is not satisfied. This implementation always raises NotImplementedError.
Connects a given DatagramProtocol
to the given numeric UDP port.
| Returns | object conforming to IListeningPort. | |
Connects a given DatagramProtocol to the given numeric UDP port.
EXPERIMENTAL.
| Returns | object conforming to IListeningPort. | |
Spawn a process.