[Twisted-Python] Reconnecting PB Client

Don Smith donwsmith at gmail.com
Thu Jul 13 14:40:48 EDT 2006


Does anyone have some example code for building a reconnecting PB client?

This is what I have now:

from twisted.spread import pb
    from twisted.internet import reactor
    from twisted.python import util

    events = pb.PBClientFactory()
    reactor.connectTCP("localhost", 8789, events)
    queue = events.getRootObject()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20060713/82f2f920/attachment.htm 


More information about the Twisted-Python mailing list