CommonAPI broadcast and broadcastselective example

Skip to first unread message

Raghunand V N

Aug 18, 2020, 10:54:47 AM8/18/20
to Franca
Hi All,

Any links or pointers for CommonAPI broadcast and broadcastselective example? I searched Internet but could not find any example implementations.

The method, methodAsync and fireAndForget are clear.


siddhartha v

Aug 18, 2020, 12:07:56 PM8/18/20
to Raghunand V N, Franca
Hello Rahgunand,

        Are you using franca IDl with Common API? also may I know if you are using WAMP or SOME/IP? But in general the entire Common API is well explained in the link where broadcast is also explained. But w.r.t selective broadcast even I don't have proper idea I tried but didn't get the proper reference as it was not a mandatory when I was working on it I skipped.

Meanwhile can you please suggest me or send me some reference for methodAsync. I didn't get this concept clearly.This will help me a lot.

And if you are using WAMP in specific then refer the below link:

Hope this helps.

Thanks and Regards.
Siddhartha V.

You received this message because you are subscribed to the Google Groups "Franca" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit

Raghunand V N

Aug 18, 2020, 11:30:01 PM8/18/20
to Franca
Thanks Siddharth!

For now, exploring CommonAPI for processes running on same machine. Hence, WAMP and SOME/IP are not required.
I am not sure about methodAsync binding in JS. In C++, we pass a callback in the method.

Example: Let's say we have created a method getProperty. FIDL generates getProperty and getPropertyAsync. We just pass callback function to getPropertyAsync in C++, should be similar in Javascript as well. The Async method is asynchronous way of calling methods.


Reply all
Reply to author
0 new messages