17 #ifndef CLIENTSTATUS_HPP_ 
   18 #define CLIENTSTATUS_HPP_ 
   24 #include <boost/bimap.hpp> 
   27 #include "kaa/gen/EndpointGen.hpp" 
   34 enum class ClientParameterT;
 
   35 class IPersistentParameter;
 
   38           boost::bimaps::set_of<ClientParameterT>   
 
   39         , boost::bimaps::set_of<std::string>        
 
   40         , boost::bimaps::left_based
 
   88     void checkSDKPropertiesForUpdates();
 
   89     void checkConfigVersionForUpdates();
 
   92     std::string filename_;
 
   93     std::map<ClientParameterT, std::shared_ptr<IPersistentParameter> > parameters_;
 
   95     bool isConfigVersionUpdated;
 
   97     KAA_MUTEX_MUTABLE_DECLARE(sequenceNumberGuard_);
 
   99     static const bimap                      parameterToToken_;
 
  101     static const bool                       isRegisteredDefault_;
 
  105     static const bool                       endpointDefaultAttachStatus_;
 
  106     static const std::string                endpointKeyHashDefault_;
 
std::string getEndpointAccessToken()
 
void setAttachedEndpoints(const AttachedEndpoints &endpoints)
 
void setProfileHash(HashDigest hash)
 
std::string getEndpointKeyHash() const 
 
std::int32_t getConfigurationSequenceNumber() const 
 
void setEndpointAccessToken(const std::string &token)
 
ClientStatus(const std::string &filename)
 
std::int32_t getEventSequenceNumber() const 
 
void setNotificationSequenceNumber(std::int32_t sequenceNumber)
 
void setConfigurationSequenceNumber(std::int32_t sequenceNumber)
 
virtual bool isConfigurationVersionUpdated() const 
 
void setTopicStates(const DetailedTopicStates &stateContainer)
 
SequenceNumber getAppSeqNumber() const 
 
boost::bimaps::bimap< boost::bimaps::set_of< ClientParameterT >, boost::bimaps::set_of< std::string >, boost::bimaps::left_based > bimap
 
std::map< std::string, std::string > AttachedEndpoints
 
std::vector< std::uint8_t > HashDigest
 
void setEndpointAttachStatus(bool isAttached)
 
void setAppSeqNumber(SequenceNumber appSeqNumber)
 
bool isRegistered() const 
 
void setEndpointKeyHash(const std::string &keyHash)
 
void setEventSequenceNumber(std::int32_t sequenceNumber)
 
AttachedEndpoints getAttachedEndpoints() const 
 
DetailedTopicStates getTopicStates() const 
 
void setRegistered(bool isRegistered)
 
std::map< std::string, DetailedTopicState > DetailedTopicStates
 
HashDigest getProfileHash() const 
 
std::string refreshEndpointAccessToken()
 
std::int32_t getNotificationSequenceNumber() const 
 
bool getEndpointAttachStatus() const