Modify Logic for unsubscribing all provider.
authorYounghyunJoo <yh_.joo@samsung.com>
Thu, 21 Jul 2016 10:47:20 +0000 (19:47 +0900)
committerUze Choi <uzchoi@samsung.com>
Fri, 22 Jul 2016 08:19:50 +0000 (08:19 +0000)
commit5bb9562667ebed84b0785110e4a3273274761df2
treea943a820f586fb227c337657d6ced2ea135a8130
parenta8ae4f8ef81e7940c7ee4347777bb666cc17a4ea
Modify Logic for unsubscribing all provider.

when consumer service stop, unsubscribes all provider.
and when user call APIs, check the service is enabled.

Conflicts:
        service/notification/examples/linux/notificationconsumer.c

Change-Id: Ib065b4c0644c0241fd4866119f0d209be360e352
Signed-off-by: YounghyunJoo <yh_.joo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/9495
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
service/notification/examples/linux/notificationconsumer.c
service/notification/src/consumer/NSConsumerInterface.c
service/notification/src/consumer/NSConsumerInternalTaskController.c
service/notification/src/consumer/NSConsumerInternalTaskController.h
service/notification/src/consumer/NSConsumerScheduler.c
service/notification/src/consumer/cache/linux/NSConsumerMemoryCache.c
service/notification/src/consumer/cache/linux/NSConsumerMemoryCache.h