Include RCS client module in Resource Container.
authorjyong2.kim <jyong2.kim@samsung.com>
Sun, 6 Sep 2015 08:08:49 +0000 (17:08 +0900)
committerMadan Lanka <lanka.madan@samsung.com>
Tue, 8 Sep 2015 14:01:36 +0000 (14:01 +0000)
commitb1d473ae08c58dedfd5060a64b3b6f3242fa737d
tree7ebff0737f0e94faddf20120bf5bb53da62de2e9
parentd5e14d63efaae9d16198b9ea0035e74ba9d0cbde
Include RCS client module in Resource Container.

Soft-sensor using resource-container needs client functionality.
but it is not supported on resource-container.
so, resource container includes the RCS-client-module, and enable to use client-function at soft-sensor.

This commit is initial version for resource container including client module.

Update discover logic,
and prevent multiple access to callback function.

Signed-off-by: jyong2.kim <jyong2.kim@samsung.com>
Change-Id: I3ba81ed185b82ee05a95de493a6ff560838e1054
Reviewed-on: https://gerrit.iotivity.org/gerrit/2388
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
15 files changed:
service/resource-encapsulation/src/resourceContainer/SConscript
service/resource-encapsulation/src/resourceContainer/bundle-api/include/SoftSensorResource.h
service/resource-encapsulation/src/resourceContainer/examples/SoftSensorSampleBundle/include/DiscomfortIndexSensorResource.h
service/resource-encapsulation/src/resourceContainer/examples/SoftSensorSampleBundle/src/DiscomfortIndexSensorResource.cpp
service/resource-encapsulation/src/resourceContainer/include/Configuration.h
service/resource-encapsulation/src/resourceContainer/include/DiscoverResourceUnit.h [new file with mode: 0644]
service/resource-encapsulation/src/resourceContainer/include/RemoteResourceUnit.h [new file with mode: 0644]
service/resource-encapsulation/src/resourceContainer/include/ResourceContainerImpl.h
service/resource-encapsulation/src/resourceContainer/src/BundleActivator.cpp
service/resource-encapsulation/src/resourceContainer/src/Configuration.cpp
service/resource-encapsulation/src/resourceContainer/src/DiscoverResourceUnit.cpp [new file with mode: 0644]
service/resource-encapsulation/src/resourceContainer/src/RemoteResourceUnit.cpp [new file with mode: 0644]
service/resource-encapsulation/src/resourceContainer/src/ResourceContainerImpl.cpp
service/resource-encapsulation/src/resourceContainer/unittests/ResourceContainerTest.cpp
service/resource-encapsulation/src/resourceContainer/unittests/SConscript