Go to the latest version of this document.

# ``twisted`.`internet`.`_signals`.`_MultiSignalHandling``

class documentation

`class _MultiSignalHandling: (source)`

View In Hierarchy

An implementation of `SignalHandling` which propagates protocol method calls to a number of other implementations.

This supports composition of multiple signal handling implementations into a single object so the reactor doesn't have to be concerned with how those implementations are factored.

Method | `install` | Undocumented
Method | `uninstall` | Undocumented
Instance Variable | `_installed` | If `install` has been called but `uninstall` has not. This is used to avoid double cleanup which otherwise results (at least during test suite runs) because twisted.internet.reactormixins doesn't keep track of whether a reactor has run or not but always invokes its cleanup logic.
Instance Variable | `_signalHandlings` | The other `SignalHandling` implementations to which to propagate calls.

def install(self): (source)

Undocumented

def uninstall(self): (source)

Undocumented

_installed: `bool` = (source)

If `install` has been called but `uninstall` has not. This is used to avoid double cleanup which otherwise results (at least during test suite runs) because twisted.internet.reactormixins doesn't keep track of whether a reactor has run or not but always invokes its cleanup logic.

_signalHandlings: `Sequence[SignalHandling]` = (source)

The other `SignalHandling` implementations to which to propagate calls.