[Twisted-Python] SSL and Perspective Broker

Edmund Dengler edmundd at eSentire.com
Tue Aug 5 11:34:29 EDT 2003

Would you recommend that I have a look at the new methods, and get away
from getPerspective() et al.? How stable (or production ready) are they?


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

> On Tue, 5 Aug 2003 10:50:05 -0400 (EDT)
> Edmund Dengler <edmundd at eSentire.com> wrote:
> > I can telnet to the port, so it is not a networking issue.
> Are you sure? Because connectSSL is what getObjectAtSSL would be using
> internally, so that is *not* the issue. Also, on windows you'd want to
> make that or it will not work.
> The DeprecationWarning is due to the use of getPerspective(), which has
> also been deprecated. I'll make the warning more clear. Basically PB
> should now use new cred, which is far far cleaner and easier to use (the
> PBClientFactory.login() method for connecting and PBServerFactory on
> server side.) Using getPerspective() will still work for the forseeable
> future, of course. See twisted.test.test_pb (the last 4 classes, IIRC)
> for examples of how to do this.
> I know this may be annoying, but we're doing this because of all the
> issues we had with the old APIs that were broken and hard to use in a
> variety of ways. Hopefully documentation of the new APIs will be
> available soon.
> --
> 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