[IOT-1554] Added error callback when adapter is terminated
If application try to send data when adapter is terminated,
Error message should be delivered to application layer.
Change-Id: Iec02116e864fb8667570c67982f44838d74f84a9
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/14181
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
(cherry picked from commit
871b61a5eb48b4891f1bb447a6795505871e872f)
Reviewed-on: https://gerrit.iotivity.org/gerrit/14395
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Reviewed-by: jihwan seo <jihwan.seo@samsung.com>