* @see RCSDiscoveryManager
*
*/
- class RCSRemoteResourceObject
+ class RCSRemoteResourceObject : public std::enable_shared_from_this<RCSRemoteResourceObject>
{
public:
typedef std::shared_ptr< RCSRemoteResourceObject > Ptr;
*
* @param attrs the updated attributes
*/
- typedef std::function< void(const RCSResourceAttributes& attrs) > CacheUpdatedCallback;
+ typedef std::function< void(const RCSResourceAttributes& attrs, int eCode) >
+ CacheUpdatedCallback;
/**
* Callback definition to be invoked when the response of getRemoteAttributes is