projects
/
platform
/
upstream
/
iotivity.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
replace : iotivity -> iotivity-sec
[platform/upstream/iotivity.git]
/
service
/
resource-encapsulation
/
src
/
resourceCache
/
include
/
DataCache.h
diff --git
a/service/resource-encapsulation/src/resourceCache/include/DataCache.h
b/service/resource-encapsulation/src/resourceCache/include/DataCache.h
index
b1429c6
..
090edb1
100644
(file)
--- a/
service/resource-encapsulation/src/resourceCache/include/DataCache.h
+++ b/
service/resource-encapsulation/src/resourceCache/include/DataCache.h
@@
-43,6
+43,11
@@
namespace OIC
DataCache();
~DataCache();
DataCache();
~DataCache();
+ DataCache(const DataCache &) = default;
+ DataCache(DataCache &&) = default;
+ DataCache & operator = (const DataCache &) = default;
+ DataCache & operator = (DataCache &&) = default;
+
void initializeDataCache(PrimitiveResourcePtr pResource);
CacheID addSubscriber(CacheCB func, REPORT_FREQUENCY rf, long repeatTime);
void initializeDataCache(PrimitiveResourcePtr pResource);
CacheID addSubscriber(CacheCB func, REPORT_FREQUENCY rf, long repeatTime);
@@
-85,7
+90,7
@@
namespace OIC
public:
void onObserve(const HeaderOptions &_hos,
public:
void onObserve(const HeaderOptions &_hos,
- const ResponseStatement &_rep, int _result, int _seq);
+ const ResponseStatement &_rep, int _result,
unsigned
int _seq);
void onGet(const HeaderOptions &_hos, const ResponseStatement &_rep, int _result);
private:
void onTimeOut(const unsigned int timerID);
void onGet(const HeaderOptions &_hos, const ResponseStatement &_rep, int _result);
private:
void onTimeOut(const unsigned int timerID);
@@
-93,7
+98,7
@@
namespace OIC
CacheID generateCacheID();
SubscriberInfoPair findSubscriber(CacheID id);
CacheID generateCacheID();
SubscriberInfoPair findSubscriber(CacheID id);
- void notifyObservers(const RCSResourceAttributes Att);
+ void notifyObservers(const RCSResourceAttributes Att
, int eCode
);
};
} // namespace Service
} // namespace OIC
};
} // namespace Service
} // namespace OIC