l.s.t.g.ShutdownCleanlyService(service.MultiService) : class documentation

Part of lp.services.twistedsupport.gracefulshutdown View In Hierarchy

A MultiService that doesn't stop until all connections of its factories are closed.

This allows delaying a twistd process exiting until all clients have disconnected from a server, for instance.

Method __init__ Constructor.
Method stopService See service.MultiService.stopService.
Method _cbServicesStopped Undocumented
def __init__(self, factories):
Constructor.
ParametersfactoriesA collection of ConnTrackingFactoryWrapper instances.
def stopService(self):
See service.MultiService.stopService.
def _cbServicesStopped(self, ignored):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.