Fixed nmdaemon restart sequence.
authorLomtev Dmytro <d.lomtev@samsung.com>
Wed, 11 Oct 2017 10:40:37 +0000 (13:40 +0300)
committerLomtev Dmytro <d.lomtev@samsung.com>
Wed, 11 Oct 2017 10:40:37 +0000 (13:40 +0300)
commite9ff0d8520e95221d66865a7e810d2253df75198
treec680a8f64dc28027e7aea50a4ca4ca62260cf29f
parent692bece4d42c7d8ddcc7eb3b889f072d9c6d6097
Fixed nmdaemon restart sequence.
Problem: nmdaemon hang up when exception during signIn occured.
Solve: signIn local unique_lock forced to unlock before exception is thrown.
HubClient refactored.
Problem: it is difficult to test functions which use network connection to remote server.
Solve: IotResourceClient added as base for HubClient.
device_core/agent_lib/src/agentpolicyadapter.cpp
device_core/ctrl_app_lib/inc/hub_client.h
device_core/ctrl_app_lib/src/hub_client.cpp
device_core/ctrl_app_lib/src/iotchilddevice_impl.cpp
device_core/iotivity_lib/inc/iot_resource.h
device_core/iotivity_lib/src/iot_resource.cpp
device_core/iotivity_lib/src/iotivity_impl.cpp
device_core/nmdaemon/main.cpp
device_core/utest/test_hubclient.cpp