Update IPCA to use new OCPlatform::start/stop().
authorSoemin Tjong <stjong@microsoft.com>
Wed, 29 Mar 2017 00:49:30 +0000 (17:49 -0700)
committerDan Mihai <Daniel.Mihai@microsoft.com>
Thu, 6 Apr 2017 13:03:02 +0000 (13:03 +0000)
commit8260b788c869fefd9cb66eaac75e648c01ebc93a
tree74f88392480d4102ea55513f964ab4c38eec8428
parentdfb7b56d2f4d8a2a75ca95c09d9ff6688f986b2b
Update IPCA to use new OCPlatform::start/stop().

https://jira.iotivity.org/browse/IOT-1966

This allows the IoTivity stack to shut down gracefully after
applications call IPCAClose().

Change-Id: Ie800577f157e4ce2a6b7086495501cda8fe133d4
Signed-off-by: Soemin Tjong <stjong@microsoft.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/18379
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
resource/IPCA/src/callback.cpp
resource/IPCA/src/ocfframework.cpp
resource/IPCA/unittests/mockOC.cpp