Modify resourceCache codes to synchronize the cacheDataList and to avoid retransmission
authorYounghyunJoo <yh_.joo@samsung.com>
Fri, 31 Jul 2015 10:14:38 +0000 (19:14 +0900)
committerHabib Virji <habib.virji@samsung.com>
Fri, 31 Jul 2015 10:53:43 +0000 (10:53 +0000)
commit569d3f03a1da87bcccf061835b4e3ab32684f15d
tree206c27d6945966ec62ef662d722aad24a56f107b
parentaa489716070442064ed104422be5b43ac6ea7204
Modify resourceCache codes to synchronize the cacheDataList and to avoid retransmission

- add std::mutex for synchronization of cacheDataList valuable
- add lastSequenceNum valuable to avoid retransmission

Change-Id: I19cc85084d916b91f359ca116e1b3ef69db2150b
Signed-off-by: YounghyunJoo <yh_.joo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2019
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Habib Virji <habib.virji@samsung.com>
Tested-by: Habib Virji <habib.virji@samsung.com>
service/resource-encapsulation/src/resourceCache/include/DataCache.h
service/resource-encapsulation/src/resourceCache/include/ResourceCacheManager.h
service/resource-encapsulation/src/resourceCache/src/DataCache.cpp
service/resource-encapsulation/src/resourceCache/src/ResourceCacheManager.cpp