Imported Upstream version 1.2.0
[platform/upstream/iotivity.git] / service / resource-container / bundle-api / include / SoftSensorResource.h
index c48e72a..3cabeaa 100644 (file)
@@ -62,9 +62,12 @@ namespace OIC
                 * The implementor of the function can decide weather to notify OIC clients
                 * about the changed state or not.
                 *
+                * @param queryParams Request parameters
+                *
                 * @return Value of all attributes
                 */
-                virtual RCSResourceAttributes handleGetAttributesRequest() = 0;
+                virtual RCSResourceAttributes handleGetAttributesRequest(const
+                        std::map< std::string, std::string > &queryParams) = 0;
 
                 /**
                 * This function should be implemented by the according bundle resource
@@ -79,10 +82,12 @@ namespace OIC
                 * about the changed state or not.
                 *
                 * @param attrs Attributes to set
+                * @param queryParams Request parameters
                 *
                 * @return void
                 */
-                virtual void handleSetAttributesRequest(const RCSResourceAttributes &attrs) = 0;
+                virtual void handleSetAttributesRequest(const RCSResourceAttributes &attrs,
+                                                        const std::map< std::string, std::string > &queryParams) = 0;
 
                 /**
                 * SoftSensor logic. Has to be provided by the soft sensor developer.