Add consumer logic for provider was stopped.
authorKIM JungYong <jyong2.kim@samsung.com>
Thu, 18 Aug 2016 06:56:54 +0000 (15:56 +0900)
committerUze Choi <uzchoi@samsung.com>
Fri, 19 Aug 2016 11:43:52 +0000 (11:43 +0000)
commit92ee16946430aa26263d47957dcc5edbebeb173c
tree7a74318a1c79753db053aa3676ed33d4191d5edd
parentf3f7fd31072df6b7d2c70fd7ea300a9155f944bc
Add consumer logic for provider was stopped.

When consumer presence listener received event of
stopped provider or deleted notification resource of provider,
consumer service does not act anything.
In this patch,
consumer service will process for canceling observe and removing provider infomation.

Change-Id: I9133ddbcbe8e341584ebaf8152c22df003cbb2ff
Signed-off-by: KIM JungYong <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10587
Reviewed-by: Chihyun Cho <ch79.cho@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
service/notification/src/consumer/NSConsumerCommon.c
service/notification/src/consumer/NSConsumerDiscovery.c
service/notification/src/consumer/NSConsumerInternalTaskController.c
service/notification/src/consumer/NSConsumerInternalTaskController.h
service/notification/src/consumer/NSConsumerMemoryCache.c
service/notification/src/consumer/NSConsumerMemoryCache.h
service/notification/src/consumer/NSConsumerScheduler.c