[Twisted-Python] How do I get at the Application object (using twistd) to save it?
2 Feb
2005
2 Feb
'05
11:23 a.m.
Twisted documentation says I can manually save my application by using the 'save' method on the Application object. That's fine if I'm creating the Application object myself, but how do I get at this object if I'm using twistd to start it? I've looked at twistd.py, but that seems to use only local variables to hold the application object. Do I have to extend twistd with a getMyApplication method? Background: This is for my work on extending twisted.names to handle DNS updates (as mentioned in an earlier post: Jan 31 2005). Each time I get an update, I want to save the application to disk.
7015
Age (days ago)
7015
Last active (days ago)
1 comments
2 participants
participants (2)
-
Jeff.Silver@edl.uk.eds.com
-
Jp Calderone