[Twisted-Python] Reconnection to Serialport after connectionLost

Rene Klootwijk (klootwijk.org) rene at klootwijk.org
Mon Aug 1 04:06:05 EDT 2011


I will put some code on pastebin when I come home this evening. The Clientfactory class does not support serial port communication, does it?

--
Rene
________________________________
Van: twisted-python-bounces at twistedmatrix.com [twisted-python-bounces at twistedmatrix.com] namens Laurens Van Houtven [_ at lvh.cc]
Verzonden: maandag 1 augustus 2011 1:37
Aan: Twisted general discussion
Onderwerp: Re: [Twisted-Python] Reconnection to Serialport after connectionLost

Have you tried ReconnectingClientFactory?

http://twistedmatrix.com/documents/current/api/twisted.internet.protocol.ReconnectingClientFactory.html

(Also, could you pastebin some code? What you're describing ought to work.)

--
cheers
lvh

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20110801/1aa9238e/attachment.htm 


More information about the Twisted-Python mailing list