Add callback set information into prepare interface 72/280672/4
authorSuyeon Hwang <stom.hwang@samsung.com>
Thu, 1 Sep 2022 11:25:30 +0000 (20:25 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Thu, 3 Nov 2022 04:39:41 +0000 (13:39 +0900)
commita384305d40a38da91f76303b78d361b139f27a74
tree23b448c746e30c9fb2b048d961d3a54551b0130d
parent4414b6be77ef6da0d85ec77b4120c948396d45fc
Add callback set information into prepare interface

- Requirement:
Server wants to information about whether the client set the service
state changed callback.

- Solution:
Service state is frequently changed, so IPC for notification of service
state change is invoked so many times for all client. However, most of
the client did not register the callback, so many resource can be
wasted by this unvaluable invocation. To reduce wasted resources, this
patch adds callback registration information into IPC interface.
Through this new information server can send valid  notification without
waste.

Change-Id: I8a70b694854eefa9c1f2e58726cb6f4c54ba2f65
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
17 files changed:
client/tts_client.c
client/tts_client.h
client/tts_core.c
client/tts_dbus.c
client/tts_dbus.h
client/tts_ipc.c
client/tts_ipc.h
client/tts_tidl.c
client/tts_tidl.h
common/tts_defs.h
server/ttsd_data.cpp
server/ttsd_data.h
server/ttsd_dbus_server.c
server/ttsd_server.c
server/ttsd_server.h
server/ttsd_tidl.c
tidl/tts.tidl