interface documentation
class IReactorDaemonize(Interface): (source)
Known implementations: twisted.internet.kqreactor.KQueueReactor
A reactor which provides hooks that need to be called before and after daemonization.
Notes:
- This interface SHOULD NOT be called by applications.
- This interface should only be implemented by reactors as a workaround (in particular, it's implemented currently only by kqueue()). For details please see the comments on ticket #1918.
Method | after |
Hook to be called immediately after daemonization. This may only be called after beforeDaemonize had been called previously. |
Method | before |
Hook to be called immediately before daemonization. No reactor methods may be called until afterDaemonize is called. |
Hook to be called immediately after daemonization. This may only be called after beforeDaemonize
had been called previously.
Hook to be called immediately before daemonization. No reactor methods may be called until afterDaemonize
is called.