interface dbus method call

jaikumar Ganesh jaikumarg at gmail.com
Thu Dec 10 10:38:15 PST 2009


Unfortunately, I don't see that happening. I am using
dbus_connection_send_with_reply and I get back a pending callback. The
interface is not up at this point, and I was expecting the call to
fail. Anyway the interface comes up later but the call just hangs.

If the interface is up and running, before I make the call, everything is good.

Has anyone else seen this ?

Thanks
Jaikumar

On Thu, Dec 10, 2009 at 3:34 AM, Thiago Macieira <thiago at kde.org> wrote:
> Em Quinta-feira 10 Dezembro 2009, às 09:31:28, jaikumar Ganesh escreveu:
>> Hello folks:
>>    Is there a way for me to check if someone has registered an
>> interface on whom I will be invoking a method call using:
>>
>> dbus_message_new_method_call          (       const char *     destination,
>>               const char *    path,
>>               const char *    interface,
>>               const char *    method
>>
>> I basically want to abort if the interface is not registered.
>
> The way to find out is to make the call. If it returns with error, then it
> didn't exist (or the path didn't or the destination didn't).
>
> --
> Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
>  Senior Product Manager - Nokia, Qt Development Frameworks
>      PGP/GPG: 0x6EF45358; fingerprint:
>      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
>
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus
>
>


More information about the dbus mailing list