From af23adaed8225157cac63389e81dbe4a2885f837 Mon Sep 17 00:00:00 2001 From: "jyong2.kim" Date: Fri, 25 Sep 2015 13:25:32 +0900 Subject: [PATCH] Remove delete request of notification sampleconsumer. notification manager(resource hosting) is not service for delete request. notification manager use to resource-encapsulation APIs. but resource encapsulation APIs is not service for delete request to remote resource. so, unsupported function about delete request is removed in sample application. Change-Id: I1280b1fa647b57eadc80ff064d121593fdc88526 Signed-off-by: jyong2.kim Reviewed-on: https://gerrit.iotivity.org/gerrit/3079 Tested-by: jenkins-iotivity Reviewed-by: Hun-je Yeon Reviewed-by: Madan Lanka --- .../SampleApp/linux/sampleConsumer/SampleConsumer.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/service/notification-manager/SampleApp/linux/sampleConsumer/SampleConsumer.cpp b/service/notification-manager/SampleApp/linux/sampleConsumer/SampleConsumer.cpp index 35f6272..d3c2d61 100644 --- a/service/notification-manager/SampleApp/linux/sampleConsumer/SampleConsumer.cpp +++ b/service/notification-manager/SampleApp/linux/sampleConsumer/SampleConsumer.cpp @@ -329,7 +329,6 @@ void PRINT() std::cout << "* method Type : 1 - Observe *" << std::endl; std::cout << "* method Type : 2 - Get *" << std::endl; std::cout << "* method Type : 3 - Put *" << std::endl; - std::cout << "* method Type : 4 - Delete *" << std::endl; std::cout << "********************************************" << std::endl; std::cout << std::endl; } @@ -381,9 +380,6 @@ int main() case PUT: startPut(g_curResource); break; - case DELETE: - startDelete(g_curResource); - break; default: std::cout << "Invalid input, please try again" << std::endl; break; -- 2.7.4