[Twisted-Python] SSL and Perspective Broker

Edmund Dengler edmundd at eSentire.com
Tue Aug 5 08:52:49 MDT 2003


Ahh, this definitely makes more sense. I was wondering why the transport
seemed to be tied so intimately with what was going on the layer above it.

Ed

On Tue, 5 Aug 2003, Itamar Shtull-Trauring wrote:

> On Tue, 5 Aug 2003 10:16:46 -0400 (EDT)
> Edmund Dengler <edmundd at eSentire.com> wrote:
>
> > Downloading the CVS to give it a go. Is there any reason to deprecate
> > this method? Is getObjectAt() also going to be deprecated?
>
> Yes, and yes :)
>
> The reason is that it ties getting an object to the transport. Every
> time you write a new transport, you need to write a new function.
> Whereas with the new way, which is the normal way Twisted protocols
> work, new transport can be used without writing extra code. In addition
> you have the benefits of auto-reconnecting if you want, ability to do
> multiple logins over the same PB connection easily, and in general code
> that is much cleaner.
>
> --
> Itamar Shtull-Trauring    http://itamarst.org/
> Available for Python & Twisted consulting
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>





More information about the Twisted-Python mailing list