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 beforeDaemonize Hook to be called immediately before daemonization. No reactor methods may be called until afterDaemonize is called.
Method afterDaemonize Hook to be called immediately after daemonization. This may only be called after beforeDaemonize had been called previously.
def beforeDaemonize(): (source)

Hook to be called immediately before daemonization. No reactor methods may be called until afterDaemonize is called.

ReturnsNone.
def afterDaemonize(): (source)

Hook to be called immediately after daemonization. This may only be called after beforeDaemonize had been called previously.

ReturnsNone.
API Documentation for Twisted, generated by pydoctor at 2017-06-11 10:59:01.