[IOT-1523] Add consumer module supported cloud MQ.
authorKIM JungYong <jyong2.kim@samsung.com>
Wed, 26 Oct 2016 06:05:53 +0000 (15:05 +0900)
committerUze Choi <uzchoi@samsung.com>
Thu, 17 Nov 2016 06:16:24 +0000 (06:16 +0000)
commiteab669e7e3cfd7febf66f70cbac87d13956209ec
treecca4d11854b8e9dee0b8e762d674c8feb92fa8bf
parentddca2670522ad2bb0a1467a6892d5f2d259da80b
[IOT-1523] Add consumer module supported cloud MQ.

https://jira.iotivity.org/browse/IOT-1523
API about subscription to MQ notification is added in consumer service.
added api : NSConsumerSubscribeMQService(...)

For the use of this api, app developer shold find the MQ broker.
And then call the new api with MQ broker address/uri and topic name,
consumer service will receive message from MQ and synchronize with local and MQ message.

Change-Id: If544d33cbcd641ed4d68d1942450acad4c6e2cde
Signed-off-by: KIM JungYong <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/13695
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
12 files changed:
service/notification/cpp-wrapper/examples/linux/notificationserviceprovider.cpp
service/notification/include/NSCommon.h
service/notification/include/NSConsumerInterface.h
service/notification/src/common/NSConstants.h
service/notification/src/consumer/NSConsumerCommon.c
service/notification/src/consumer/NSConsumerCommon.h
service/notification/src/consumer/NSConsumerCommunication.c
service/notification/src/consumer/NSConsumerDiscovery.c
service/notification/src/consumer/NSConsumerInterface.c
service/notification/src/consumer/NSConsumerMQPlugin.c [new file with mode: 0644]
service/notification/src/consumer/NSConsumerMQPlugin.h [new file with mode: 0644]
service/notification/src/consumer/NSConsumerScheduler.c