projects
/
platform
/
upstream
/
iotivity.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 1.2.0
[platform/upstream/iotivity.git]
/
service
/
resource-container
/
bundle-api
/
include
/
SoftSensorResource.h
diff --git
a/service/resource-container/bundle-api/include/SoftSensorResource.h
b/service/resource-container/bundle-api/include/SoftSensorResource.h
index
c48e72a
..
3cabeaa
100644
(file)
--- a/
service/resource-container/bundle-api/include/SoftSensorResource.h
+++ b/
service/resource-container/bundle-api/include/SoftSensorResource.h
@@
-62,9
+62,12
@@
namespace OIC
* The implementor of the function can decide weather to notify OIC clients
* about the changed state or not.
*
* 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
*/
* @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
/**
* 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
* about the changed state or not.
*
* @param attrs Attributes to set
+ * @param queryParams Request parameters
*
* @return void
*/
*
* @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.
/**
* SoftSensor logic. Has to be provided by the soft sensor developer.