Re: [Twisted-Python] Switch Protocols mid Connection

2018-09-17 Thread Glyph
> On Sep 16, 2018, at 11:34 PM, Tristan Seligmann > wrote: > > On Sun, 16 Sep 2018 at 16:02, Randall Smith wrote: >> and make 16+ calls to transfer a single file. So I need to switch to a >> more appropriate (not yet determined) protocol for the transfer, and >> then back to AMP. AMP provid

Re: [Twisted-Python] Switch Protocols mid Connection

2018-09-16 Thread Tristan Seligmann
On Sun, 16 Sep 2018 at 16:02, Randall Smith wrote: > and make 16+ calls to transfer a single file. So I need to switch to a > more appropriate (not yet determined) protocol for the transfer, and > then back to AMP. AMP provides a protocol switch command, which is > great, but then I'd need to sw

[Twisted-Python] Switch Protocols mid Connection

2018-09-16 Thread Randall Smith
I'm new to Twisted and really enjoying the event driven approach, especially with the availability of in-line callbacks to avoid callback hell.  So thanks to all of you who have worked on Twisted. The program I'm writing uses AMP for peer to peer communication. I like AMP because it's natively