Bases: circuits.core.events.Event
Daemonize Event
This event can be fired to notify the Daemon Component to begin the “daemonization” process. This event is (by default) used automatically by the Daemon Component in its “started” Event Handler (This behavior can be overridden).
Arguments: None
An Event is a message send to one or more channels. It is eventually dispatched to all components that have handlers for one of the channels and the event type.
All normal arguments and keyword arguments passed to the constructor of an event are passed on to the handler. When declaring a handler, its argument list must therefore match the arguments used for creating the event.
Every event has a name attribute that is used for matching the event with the handlers. By default, the name is the uncameled class name of the event.
Variables: |
|
---|
Bases: circuits.core.events.Event
“WritePID Event
This event can be fired to notify the Daemon Component that is should retrive the current process’s id (pid) and write it out to the configured path in the Daemon Component. This event (by default) is used automatically by the Daemon Component after the Daemonize.
An Event is a message send to one or more channels. It is eventually dispatched to all components that have handlers for one of the channels and the event type.
All normal arguments and keyword arguments passed to the constructor of an event are passed on to the handler. When declaring a handler, its argument list must therefore match the arguments used for creating the event.
Every event has a name attribute that is used for matching the event with the handlers. By default, the name is the uncameled class name of the event.
Variables: |
|
---|
Bases: circuits.core.components.BaseComponent
Daemon Component
Parameters: |
|
---|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature