16 #ifndef ALEXA_CLIENT_SDK_CERTIFIEDSENDER_INCLUDE_CERTIFIEDSENDER_SQLITEMESSAGESTORAGE_H_ 17 #define ALEXA_CLIENT_SDK_CERTIFIEDSENDER_INCLUDE_CERTIFIEDSENDER_SQLITEMESSAGESTORAGE_H_ 25 namespace certifiedSender {
41 const std::shared_ptr<avsCommon::utils::configuration::ConfigurationNode>& configurationRoot);
49 static std::unique_ptr<SQLiteMessageStorage>
create(
65 void close()
override;
71 bool load(std::queue<StoredMessage>* messageContainer)
override;
73 bool erase(
int messageId)
override;
89 int isDatabaseLegacy();
105 bool eraseMessageOverAgeLimit();
113 bool eraseMessageOverSizeLimit();
119 #endif // ALEXA_CLIENT_SDK_CERTIFIEDSENDER_INCLUDE_CERTIFIEDSENDER_SQLITEMESSAGESTORAGE_H_ Definition: ConfigurationNode.h:71
bool store(const std::string &message, int *id) override
::std::string string
Definition: gtest-port.h:1097
bool erase(int messageId) override
Definition: MessageStorageInterface.h:34
bool clearDatabase() override
static std::unique_ptr< SQLiteMessageStorage > create(const avsCommon::utils::configuration::ConfigurationNode &configurationRoot)
bool createDatabase() override
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
Definition: SQLiteDatabase.h:36
Definition: SQLiteMessageStorage.h:32
bool load(std::queue< StoredMessage > *messageContainer) override
SQLiteMessageStorage(const std::string &databaseFilePath)
static std::shared_ptr< MessageStorageInterface > createMessageStorageInterface(const std::shared_ptr< avsCommon::utils::configuration::ConfigurationNode > &configurationRoot)
tuple message
Definition: gtest_output_test.py:331