[Bug 28797] generated client code should be able to set a non-default timeout

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Nov 5 08:55:34 CET 2010


https://bugs.freedesktop.org/show_bug.cgi?id=28797

Olli Salli <ollisal at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|telepathy-bugs at lists.freede |andrunko at gmail.com
                   |sktop.org                   |

--- Comment #2 from Olli Salli <ollisal at gmail.com> 2010-11-05 00:55:33 PDT ---
Due to C++ actually having optional parameters I'd really not do this on a
case-by-case basis, but make the codegen emit that param in all generated proxy
methods. Actually, how would it even be done case-by-case? Having an extra spec
annotation for "it might take a while"? A blacklist of forever-taking methods
in tp-qt4 codegen? That is, the only methods we have calling asyncCall are the
auto-generated proxy D-Bus method wrappers - so any case-by-case handling would
require feeding this case information somehow to the codegen.

Anyway, we'll make 0.5.0 have a timeout parameter with a default argument in
the methods for forwards-compatibility, documented as being ignored until QDBus
gains support for it.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list