Hello,
I have an application using twisted in which the web browser opens a
persistent connection when a user logs in (COMET model). I want to write
data into active persistent connections at server stop to notify client to
logout properly.
To do that, I add a system event trigger to the reacto
reactor.addSystemEventTrigger('before', 'shutdown', onStop)
TestService().setServiceParent(application)
##test.py ends here###
> -Message d'origine-
> De : Boeuf, Jean-Francois
> Envoyé : vendredi 16 janvier 2009 13:26
> À :
d-Python] RE: Write into a persistent
> connection beforestopping
>
> On Mon, 26 Jan 2009 16:12:57 +0100, "Boeuf, Jean-Francois"
> wrote:
> >Hi,
> >
> >As i didn't get any answer to my problem i writed a little
> test code to
> >reproduc