[Twisted-Python] Error (and response) handling in protocols

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Mon Feb 21 08:30:10 EST 2011


On 11:21 am, jason.heeris at gmail.com wrote:
>On 21 February 2011 16:59, Phil Mayers <p.mayers at imperial.ac.uk> wrote:
>>I'm a little confused as to why this is a connectionless protocol, if
>>it's talking on a serial port? Surely it's a singleton connection, 
>>with
>>no connect/disconnect events?
>
>There's a connectionMade event when you do SerialPort(protocol, ...).
>There's no connectionLost event, even if you do that over and over
>again.

Not intentionally:

  http://twistedmatrix.com/trac/ticket/3690

Jean-Paul



More information about the Twisted-Python mailing list