call for advice (is dbus ok for me ?)

Thiago Macieira thiago at kde.org
Sun Sep 14 10:19:11 PDT 2008


sfora dim wrote:
>> If the server function you want to call needs to call your callback
>> multiple times (for example to set up notifications or a progress
>> report) you'll have to do something more complicated.
>
>Is there a technical problem in sending a method-reply message for the
>same serial number more than once or is it just ugly ?

It's just not possible.

Even if the daemon doesn't reject the second reply, the library will have 
discarded the information on your callback after the first reply came.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/dbus/attachments/20080914/4a70ee6b/attachment.pgp 


More information about the dbus mailing list