twisted.internet.baseView Source (View In Hierarchy)
Private mixin to manage signals: it installs signal handlers at start time, and define run method.
It can only be used mixed in with
and has to be defined first in the inheritance (so that method resolution
order finds startRunning first).
|Method||startRunning||Extend the base implementation in order to remember whether signal handlers should be installed later.|
|Instance Variable||_installSignalHandlers||A flag which indicates whether any signal handlers will be installed during
startup. This includes handlers for SIGCHLD to monitor child processes,
and SIGINT, SIGTERM, and SIGBREAK to stop the reactor. (type:
|Method||_handleSignals||Install the signal handlers for the Twisted event loop.|
|Method||_reallyStartRunning||Extend the base implementation by also installing signal handlers, if
Install the signal handlers for the Twisted event loop.
Extend the base implementation in order to remember whether signal handlers should be installed later.
|Parameters||installSignalHandlers||A flag which, if set, indicates that handlers for a number of
(implementation-defined) signals should be installed during startup. (type: |
Extend the base implementation by also installing signal handlers, if
self._installSignalHandlers is true.