17 #ifndef ICLIENTSTATESTORAGE_HPP_
18 #define ICLIENTSTATESTORAGE_HPP_
22 #include "kaa/gen/EndpointGen.hpp"
24 #include "kaa/notification/gen/NotificationDefinitions.hpp"
46 virtual void setTopicList(
const Topics& stateContainer) = 0;
75 virtual void read() = 0;
76 virtual void save() = 0;
virtual ~IKaaClientStateStorage()
virtual std::int32_t getTopicListHash()=0
virtual HashDigest getProfileHash() const =0
virtual void setEndpointKeyHash(const std::string &keyHash)=0
virtual void setEventSequenceNumber(std::int32_t sequenceNumber)=0
virtual void setProfileHash(HashDigest hash)=0
virtual bool isSDKPropertiesUpdated() const =0
virtual std::string refreshEndpointAccessToken()=0
virtual Topics getTopicList() const =0
virtual void setTopicStates(const TopicStates &states)=0
virtual AttachedEndpoints getAttachedEndpoints() const =0
virtual void setTopicListHash(const std::int32_t topicListHash)=0
virtual bool getEndpointAttachStatus() const =0
virtual TopicStates & getTopicStates()=0
std::int32_t eventSequenceNumber
std::map< std::string, std::string > AttachedEndpoints
virtual std::string getEndpointKeyHash() const =0
std::vector< std::uint8_t > HashDigest
std::shared_ptr< IKaaClientStateStorage > IKaaClientStateStoragePtr
virtual void setAttachedEndpoints(const AttachedEndpoints &endpoints)=0
virtual bool isRegistered() const =0
virtual void setRegistered(bool isRegistered)=0
virtual bool isProfileResyncNeeded() const =0
virtual std::string getEndpointAccessToken()=0
virtual void setTopicList(const Topics &stateContainer)=0
virtual void setEndpointAccessToken(const std::string &token)=0
virtual std::int32_t getEventSequenceNumber() const =0
std::map< std::int64_t, std::int32_t > TopicStates
virtual void setEndpointAttachStatus(bool isAttached)=0
virtual void setProfileResyncNeeded(bool isNeeded)=0