Python bindings question

John (J5) Palmieri johnp at redhat.com
Tue Oct 4 11:48:55 PDT 2005


On Tue, 2005-10-04 at 20:39 +0200, Julien PUYDT wrote:
> John (J5) Palmieri a écrit :
> >>- the one implemented in gnomemeeting does _not_ reply ;
>
> Please reread the above.
> 
> > proxy.MethodCall(..., reply_handler=on_reply, error_handler=on_error)
> > 
> > where the reply_handler is a function or method with the same number of
> > parameters that the MethodCall returns and the error_handler is a
> > function or method which takes an exception as a parameter.  It is all
> > in the tutorial at http://dbus.freedesktop.org/doc/dbus-tutorial.html.
> 
> Yes, I know how to get the reply or error. The problem is : the message 
> should be sent as *NO* reply... ie : don't wait for a reply, don't set a 
> reply function (no error handler either). Just get the message out and 
> that's all.

Sorry I misunderstood.  It sounded like you were blocking for a reply
and it never came.  That is not implemented in the higher level
bindings.  I suppose I could just add a ignore_reply keyword and also
check for out arguments in the introspect data.  

> Snark on #gnomemeeting
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus
-- 



More information about the dbus mailing list