From: Patrik Flykt <[email protected]>
Hi,
This patch set implements ServicesAdded and ServicesRemoved signals
in Manager API.
The services added and removed signals follow the respective ConnMan
notifiers, and are implemented by collecting the services into separate
lists. This allows adding multiple services into one D-Bus signal and
enables ordering so that the ServicesRemoved signal is sent before
ServicesAdded. When the service is removed, a check is made whether
the service was already included in the added list. If so, the service
is removed from that list. There is a short delay of 100ms between
adding or removing services until the signal is sent. This is to be
more efficient and trying to pack as many services in one signal as
possible.
The above is all implemented in patch 01.
Patch 02 removes the 'Services' property and associated helper functions
from the Manager API.
Cheers,
Patrik
Patrik Flykt (2):
service: Implement ServicesAdded and ServicesRemoved signals
service: Remove 'Services' property from Manager D-Bus API
src/connman.h | 1 -
src/manager.c | 5 +-
src/service.c | 214 ++++++++++++++++++++++++++++++++++++++-------------------
3 files changed, 146 insertions(+), 74 deletions(-)
--
1.7.2.5
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman