Modified consumer internal function call flow.
authorKIM JungYong <jyong2.kim@samsung.com>
Thu, 16 Jun 2016 07:31:10 +0000 (16:31 +0900)
committerUze Choi <uzchoi@samsung.com>
Fri, 17 Jun 2016 02:18:50 +0000 (02:18 +0000)
commit2098c6d73dcd600899f9993e33ac891160d9275f
treeef3b3c93d032ad41c2672564f646daab447d3656
parentb79f9b6f3531a81e2a447800ef3f03f02b314961
Modified consumer internal function call flow.

When receive provider discover and message and syncinfo,
callback is called by communication module until this patch.
but, a proper way is callback should be calling by internalTaskControl module.
so, execution of callback logic is moved to internalTaskControl module.

Public NSProvider structure is modified.
Query Paramater(Consumer Id) is inclued on the request for subscription to providers.

Change-Id: Ib4e0db852d68889b90b66f880a052ed1453c2aca
Signed-off-by: KIM JungYong <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/8693
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
13 files changed:
service/notification/examples/linux/notificationconsumer.c
service/notification/include/NSCommon.h
service/notification/src/common/NSConstants.h
service/notification/src/common/NSUtil.c
service/notification/src/consumer/NSConsumerCommon.c
service/notification/src/consumer/NSConsumerCommon.h
service/notification/src/consumer/NSConsumerCommunication.c
service/notification/src/consumer/NSConsumerCommunication.h
service/notification/src/consumer/NSConsumerDiscovery.c
service/notification/src/consumer/NSConsumerInterface.c
service/notification/src/consumer/NSConsumerInternalTaskController.c
service/notification/src/consumer/NSConsumerInternalTaskController.h
service/notification/src/consumer/NSConsumerQueueScheduler.c