[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)
committerAshok Babu Channa <ashok.channa@samsung.com>
Fri, 14 Oct 2016 06:07:16 +0000 (06:07 +0000)
commit34e0c46505b1031815d3962c17a05d8d814fe19f
treef8a155a3fe24f4d923e0894b145df2b596dab032
parent83686147c63f53acb6e2f88665a9e72d9058dba2
[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/13113
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Abhishek Pandey <abhi.siso@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@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