AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <PostConnectSequencer.h>
Public Types | |
using | PostConnectOperationsSet = std::set< std::shared_ptr< avsCommon::sdkInterfaces::PostConnectOperationInterface >, PostConnectOperationPriorityCompare > |
Alias for the custom post connect operations set where items are grouped based on operation priority. More... | |
Public Member Functions | |
~PostConnectSequencer () override | |
PostConnectInterface methods | |
bool | doPostConnect (std::shared_ptr< avsCommon::sdkInterfaces::MessageSenderInterface > postConnectSender, std::shared_ptr< PostConnectObserverInterface > postConnectObserver) override |
void | onDisconnect () override |
Public Member Functions inherited from alexaClientSDK::acl::PostConnectInterface | |
virtual | ~PostConnectInterface ()=default |
Static Public Member Functions | |
static std::shared_ptr< PostConnectSequencer > | create (const PostConnectOperationsSet &postConnectOperations) |
Class that runs a PostConnectOperationInterface
list in sequence.
using alexaClientSDK::acl::PostConnectSequencer::PostConnectOperationsSet = std::set< std::shared_ptr<avsCommon::sdkInterfaces::PostConnectOperationInterface>, PostConnectOperationPriorityCompare> |
Alias for the custom post connect operations set where items are grouped based on operation priority.
|
override |
Destructor.
|
static |
Creates a PostConnectSequencer
instance.
postConnectOperations | The ordered list of PostConnectOperationInterfaces . |
PostConnectSequencer
.
|
overridevirtual |
The main method which is responsible for doing the PostConnect action.
postConnectSender | The MessageSenderInterface used to send post connect messages. |
postConnectObserver | The PostConnectObserverInterface to get notified on success or failure of the post connect action. |
Implements alexaClientSDK::acl::PostConnectInterface.
|
overridevirtual |
Handle notification that the connection has been lost.
Implements alexaClientSDK::acl::PostConnectInterface.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0