replace : iotivity -> iotivity-sec
[platform/upstream/iotivity.git] / resource / include / IServerWrapper.h
index 66f2007..de5f019 100644 (file)
@@ -18,8 +18,8 @@
 //
 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 
-#ifndef _I_SERVER_WRAPPER_H_
-#define _I_SERVER_WRAPPER_H_
+#ifndef OC_I_SERVER_WRAPPER_H_
+#define OC_I_SERVER_WRAPPER_H_
 
 #include <memory>
 #include <string>
@@ -71,9 +71,26 @@ namespace OC
 
         virtual OCStackResult stopPresence() = 0;
 
+        virtual OCStackResult notifyAllObservers(
+                    OCResourceHandle resourceHandle,
+                    QualityOfService QoS) = 0;
+
+        virtual OCStackResult notifyListOfObservers(
+                    OCResourceHandle resourceHandle,
+                    ObservationIds& observationIds,
+                    const std::shared_ptr<OCResourceResponse> pResponse,
+                    QualityOfService QoS) = 0;
+
         virtual OCStackResult setDefaultDeviceEntityHandler(EntityHandler entityHandler) = 0;
 
         virtual OCStackResult sendResponse(const std::shared_ptr<OCResourceResponse> pResponse) = 0;
+
+        virtual OCStackResult setPropertyValue(OCPayloadType type, const std::string& tag, const std::string& value) = 0;
+        virtual OCStackResult getPropertyValue(OCPayloadType type, const std::string& tag, std::string& value) = 0;
+
+        virtual OCStackResult stop() = 0;
+
+        virtual OCStackResult start() = 0;
     };
 }