[Twisted-Python] deferring result to PB a callRemote method

Kevin Horn kevin.horn at gmail.com
Tue Jan 19 11:15:15 EST 2010


On Mon, Jan 18, 2010 at 7:19 PM, Andrew Bennetts <andrew at bemusement.org>wrote:

> >    Google is my friend but I could not find examples of this usage. Is
> there
> >    any references to this usage in the twisted docs?
>
>
> Huh, surprisingly not in the primary PB docs.  The Twisted “finger”
> tutorial
> does do this, though, if you read it carefully enough.  See finger21.tac in
> <http://twistedmatrix.com/documents/current/core/howto/tutorial/pb.html>;
> the
> remote_* methods of PerspectiveFingerFromService delegate to self.service,
> which
> is FingerService, which returns Deferreds from its getUser and getUsers
> methods.
>
>
>
It sems like this should be discussed in the PB docs.  Maybe someone should
file a ticket..

(hint, hint)

Kevin Horn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20100119/22ae2d62/attachment.htm 


More information about the Twisted-Python mailing list