Update consumer logic for stopped provider.
authorKIM JungYong <jyong2.kim@samsung.com>
Tue, 30 Aug 2016 00:22:53 +0000 (09:22 +0900)
committerUze Choi <uzchoi@samsung.com>
Fri, 2 Sep 2016 05:14:09 +0000 (05:14 +0000)
commitce1fd9fef57333c4d0c20c3307cbd524aeeeb72d
treee01a016a68d63d164501d8a4fa45e17a1468f726
parent3ec5a7fa999e11a8dc2b3f8fadd58b8375edf43a
Update consumer logic for stopped provider.

When the provider was stopped service,
consumer service will feedback to upperlayer on ProviderChangedCallback but non-feedback before.
This patch enable feedback when stopped provider service.

And enum value of NS_STOPPED is added.
NSResponse enum structure is renamed with NSProviderState.

Change-Id: I7fdd2ca1d3ba0b534c74b0fbc6719616daab2f67
Signed-off-by: KIM JungYong <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11091
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
service/notification/cpp-wrapper/consumer/src/NSConsumerService.cpp
service/notification/examples/linux/notificationconsumer.c
service/notification/include/NSCommon.h
service/notification/include/NSConsumerInterface.h
service/notification/src/consumer/NSConsumerCommon.c
service/notification/src/consumer/NSConsumerCommon.h
service/notification/src/consumer/NSConsumerInternalTaskController.c
service/notification/unittest/NSConsumerTest.cpp