[Twisted-Python] Using IConnector

Christopher Armstrong radix at twistedmatrix.com
Tue Feb 18 21:10:47 EST 2003

On Tue, Feb 18, 2003 at 03:28:02PM -0500, Bob Ippolito wrote:
> Ok, well, I can't speak for this part of twisted.. but I *think* the 
> proper way would be to make it a Transport, not a Protocol.   For 
> example, if you were behind a stupid firewall and you wanted to make 
> connections to another host outside of the firewall, you would have to 
> refactor a lot less code if it could just be a transport.
> Just an idea, again, I'm not an authority on this in any way.

I'm not sure why I didn't think of this earlier, but yes, it does
sound like a transport is the way to go -- it's exactly the kind of
thing that the transport/protocol separation was done for.

 Twisted | Christopher Armstrong: International Man of Twistery
  Radix  |          Release Manager,  Twisted Project
---------+     http://twistedmatrix.com/users/radix.twistd/

More information about the Twisted-Python mailing list