Hi there,
I am working on a project that requires communication among different snaps.
Specifically, there are two snaps SNAP_A and SNAP_B.
Once there is an event triggered in SNAP_A, it will send a signal (a binary signal for example) to SNAP_B, and SNAP_B will launch one of its applications, after successful launch of the application, SNAP_B will send SNAP_A a confirmation signal to confirm the app is launched successfully. This process follows a server-client model.
As far as I have known, currently the communication between snaps are done via interfaces, where a plug consumes the resources from a provide (slot). But I am not sure if it is one-way communication or two-way. After scanning through all common interfaces, I do not find anything that may fit my use case (correct me if I am wrong).
May I seek for your suggestion if designing a custom interface is a way to go or I need something else?
Thanks a lot!