interface documentation

class twisted.internet.interfaces.IReactorDaemonize(Interface): (source)

Known implementations: twisted.internet.kqreactor.KQueueReactor

View In Hierarchy

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.

def afterDaemonize(): (source)

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

API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.