AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::avsGatewayManager::storage::AVSGatewayManagerStorageInterface Class Referenceabstract

#include <AVSGatewayManagerStorageInterface.h>

Inheritance diagram for alexaClientSDK::avsGatewayManager::storage::AVSGatewayManagerStorageInterface:
Inheritance graph
[legend]

Public Member Functions

virtual ~AVSGatewayManagerStorageInterface ()=default
 
virtual bool init ()=0
 
virtual bool loadState (GatewayVerifyState *state)=0
 
virtual bool saveState (const GatewayVerifyState &state)=0
 
virtual void clear ()=0
 

Detailed Description

The interface class for AVSGatewayManager Storage.

Constructor & Destructor Documentation

◆ ~AVSGatewayManagerStorageInterface()

virtual alexaClientSDK::avsGatewayManager::storage::AVSGatewayManagerStorageInterface::~AVSGatewayManagerStorageInterface ( )
virtualdefault

Destructor.

Member Function Documentation

◆ clear()

virtual void alexaClientSDK::avsGatewayManager::storage::AVSGatewayManagerStorageInterface::clear ( )
pure virtual

Clears the stored data from the database.

Implemented in alexaClientSDK::avsGatewayManager::storage::AVSGatewayManagerStorage.

◆ init()

virtual bool alexaClientSDK::avsGatewayManager::storage::AVSGatewayManagerStorageInterface::init ( )
pure virtual

Initializes the underlying database.

Returns
True if successful, else false.

Implemented in alexaClientSDK::avsGatewayManager::storage::AVSGatewayManagerStorage.

◆ loadState()

virtual bool alexaClientSDK::avsGatewayManager::storage::AVSGatewayManagerStorageInterface::loadState ( GatewayVerifyState state)
pure virtual

Loads the GatewayVerifyState from the database.

Parameters
stateThe pointer to the GatewayVerifyState that will populated. If the default state is passed and there is no data to be loaded, the state remains unchanged.
Returns
True if load is successful, else false.

Implemented in alexaClientSDK::avsGatewayManager::storage::AVSGatewayManagerStorage.

◆ saveState()

virtual bool alexaClientSDK::avsGatewayManager::storage::AVSGatewayManagerStorageInterface::saveState ( const GatewayVerifyState state)
pure virtual

Saves the given state to the database.

Parameters
stateThe GatewayVerifyState to be saved.
Returns
True if successful, else false.

Implemented in alexaClientSDK::avsGatewayManager::storage::AVSGatewayManagerStorage.


The documentation for this class was generated from the following file:

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0