[IOT-1440] findResource() to return list of discovered resources.
authorHarish Kumara Marappa <h.marappa@samsung.com>
Tue, 11 Oct 2016 15:27:41 +0000 (00:27 +0900)
committerZiran Sun <ziran.sun@samsung.com>
Fri, 14 Oct 2016 08:53:46 +0000 (08:53 +0000)
commita80fcca32c01536df59510e850c03773b8856da6
treee3ecd9574d63423802c1a39118d404d5e1082e25
parent43e3018a4fe0fc7e80591094f67eff0855bd8f12
[IOT-1440] findResource() to return list of discovered resources.

OCPlatform::findResource() does not return all the discovered resources in single callback
even though it gets the whole discovery payload from RI C layer.

This change implements OCPlatform::findResourceList() API which does return all the parsed
resources in discovery payload in single callback.

Change-Id: Ic95541f7303a15eb676029e6f2ea4952e5e3ca3e
Signed-off-by: Harish Kumara Marappa <h.marappa@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/13111
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
Reviewed-by: Abhishek Pandey <abhi.siso@samsung.com>
Reviewed-by: Ziran Sun <ziran.sun@samsung.com>
resource/include/IClientWrapper.h
resource/include/InProcClientWrapper.h
resource/include/OCApi.h
resource/include/OCPlatform.h
resource/include/OCPlatform_impl.h
resource/include/OutOfProcClientWrapper.h
resource/src/InProcClientWrapper.cpp
resource/src/OCPlatform.cpp
resource/src/OCPlatform_impl.cpp