[Twisted-Python] Reactor questions
Jasper Phillips
jasper at peak.org
Thu Apr 3 01:54:25 MST 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I notice from expirmentation that reactor.stop() seems to sever any ongoing
network connections. Is there a way to temporarily stop then restart the
reactor without losing a network connection? Or would I need to write my
own reactor?
I'm writing unit tests, where I want to script a sequence of events.
Currently I have a (pyui) loop calling twisted.internet.main.iterate(), and
have my code accept a startup flag telling it whether to stop for procederal
input after remote PB calls.
This is a bit awkward, and so I'm hoping someone has dealt with this before
in twisted.
- -Jasper
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE+i/bG8EpjZ7/X9bIRAg3GAJ90/aobSqyYGy+NgKbDyZYbS/+TNQCgs6sy
yOxkTjygUV5T5jUiBCNzBHw=
=B+J1
-----END PGP SIGNATURE-----
More information about the Twisted-Python
mailing list