[Twisted-Python] help using deferred

Jean-Paul Calderone exarkun at divmod.com
Mon May 18 07:31:55 MDT 2009


On Fri, 15 May 2009 16:58:11 +0200, Luigi Conte <luigiandcosolutions at gmail.com> wrote:
> [snip]
>
>I looked at the documentation and I understood something about defferd and
>callbacks. I edited my code but it does nothing...
>I'm going to explain the scenario and what I want to do:
>- there is an api that provides some methods (connect, start, disconnect).
>- all those methods return a deferred object
>- I have an object that first tries to connect, then reads a file and calls
>the start method many times in a loop cicle of his method.
>
> [snip]

I answered essentially this same question previously in this thread.  If
the answer was unclear, ask for clarification about the part that was not
clear.  Don't just start over at the beginning again.

Jean-Paul




More information about the Twisted-Python mailing list