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);
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);
CacheID generateCacheID();
SubscriberInfoPair findSubscriber(CacheID id);
- void notifyObservers(const RCSResourceAttributes Att);
+ void notifyObservers(const RCSResourceAttributes Att, int eCode);
};
} // namespace Service
} // namespace OIC