X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=service%2Fresource-encapsulation%2Fsrc%2FresourceCache%2Finclude%2FCacheTypes.h;h=737edf1fe078ecc8d19b9abf745620aa908bc0fa;hb=refs%2Ftags%2Fsubmit%2Ftizen_4.0%2F20171010.021147;hp=fa08cc8bd58cfe48ef981820badde7f5106836be;hpb=ae6e681f3aa422e0bad2cc0cf706b54bde18bb1b;p=platform%2Fupstream%2Fiotivity.git diff --git a/service/resource-encapsulation/src/resourceCache/include/CacheTypes.h b/service/resource-encapsulation/src/resourceCache/include/CacheTypes.h index fa08cc8..737edf1 100644 --- a/service/resource-encapsulation/src/resourceCache/include/CacheTypes.h +++ b/service/resource-encapsulation/src/resourceCache/include/CacheTypes.h @@ -73,10 +73,16 @@ namespace OIC FREQUENCY }; + enum class CACHE_METHOD + { + OBSERVE_ONLY, + ITERATED_GET + }; + typedef int CacheID; typedef std::function, - const RCSResourceAttributes &)> CacheCB; + const RCSResourceAttributes &, int eCode)> CacheCB; typedef std::map> SubscriberInfo; typedef std::pair> SubscriberInfoPair;