circuits.core.helpers module¶
-
class
circuits.core.helpers.
FallBackExceptionHandler
(*args, **kwargs)¶ Bases:
circuits.core.components.BaseComponent
If there is no handler for error events in the component hierarchy, this component’s handler is added automatically. It simply prints the error information on stderr.
initializes x; see x.__class__.__doc__ for signature
-
class
circuits.core.helpers.
FallBackGenerator
(*args, **kwargs)¶ Bases:
circuits.core.components.BaseComponent
-
resume
()¶ Implements the resume method as required from components that handle
GenerateEvents
.
-
-
class
circuits.core.helpers.
FallBackSignalHandler
(*args, **kwargs)¶ Bases:
circuits.core.components.BaseComponent
If there is no handler for signal events in the component hierarchy, this component’s handler is added automatically. It simply terminates the system if the signal is SIGINT or SIGTERM.
initializes x; see x.__class__.__doc__ for signature