[Twisted-Python] client API issue for Application

Christopher Armstrong radix at twistedmatrix.com
Sat Aug 24 19:59:58 EDT 2002


I've been talking with nobomb on #twisted about his IRC bot, which he
wants to be able to connect to a list of servers for fail-over (i.e.,
when one server connection fails, try to connect to the nest). We worked
it out so that he'd call app.connectTCP again in his
clientConnectionFailed method of his ClientFactory, but I realized that
the tcpConnectors list in Application *never* gets cleaned out. Should
we have an explicit method to do this, or some kind of automatic
cleaning, or something...?

While browsing through the Application source, I see that the same is
true for the listeners, except for TCP (there's an unlistenTCP, but no
unlistenSSL, frex). There's *also* a dontListenTCP which just raises a
not implemented error. *boggle*
-- 
                                Chris Armstrong
                         << radix at twistedmatrix.com >>
                http://twistedmatrix.com/users/radix.twistd/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20020824/ba4b4e68/attachment.pgp 


More information about the Twisted-Python mailing list