![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <PostConnectVerifyGatewaySender.h>
Public Member Functions | |
~PostConnectVerifyGatewaySender () | |
void | wakeOperation () |
PostConnectOperationInterface Methods | |
unsigned int | getOperationPriority () override |
bool | performOperation (const std::shared_ptr< avsCommon::sdkInterfaces::MessageSenderInterface > &messageSender) override |
void | abortOperation () override |
![]() | |
virtual | ~PostConnectOperationInterface ()=default |
virtual bool | performOperation (const std::shared_ptr< avsCommon::sdkInterfaces::MessageSenderInterface > &messageSender)=0 |
Static Public Member Functions | |
static std::shared_ptr< PostConnectVerifyGatewaySender > | create (std::function< void(const std::shared_ptr< PostConnectVerifyGatewaySender > &)> gatewayVerifiedCallback, std::shared_ptr< avsCommon::utils::metrics::MetricRecorderInterface > metricRecorder=nullptr) |
Additional Inherited Members | |
![]() | |
static constexpr unsigned int | VERIFY_GATEWAY_PRIORITY = 50 |
Operation priority for AVS Gateway Verification. More... | |
static constexpr unsigned int | ENDPOINT_DISCOVERY_PRIORITY = 100 |
Operation priority for Publishing Capabilities to AVS. More... | |
static constexpr unsigned int | SYNCHRONIZE_STATE_PRIORITY = 150 |
Operation priority for sending SynchronizeState event to AVS. More... | |
The post connect operation which sends the VerifyGateway
event.
alexaClientSDK::avsGatewayManager::PostConnectVerifyGatewaySender::~PostConnectVerifyGatewaySender | ( | ) |
Destructor for tracking lifecycle.
|
overridevirtual |
Aborts an operation that is currently being executed using the performOperation() method.
Implements alexaClientSDK::avsCommon::sdkInterfaces::PostConnectOperationInterface.
|
static |
Creates a new instance of PostConnectVerifyGatewaySender
.
gatewayVerifiedCallback | The callback method that should be called on successful gateway verification. |
metricRecorder | Optional (may be nullptr) reference to metric recorder. |
PostConnectVerifyGatewaySender
.
|
overridevirtual |
Returns the operation priority. The Priority is used to order the sequence of operations in ascending order.
Implements alexaClientSDK::avsCommon::sdkInterfaces::PostConnectOperationInterface.
|
override |
void alexaClientSDK::avsGatewayManager::PostConnectVerifyGatewaySender::wakeOperation | ( | ) |
Wakes the PostConnectVerifyGatewaySender
if it is on wait state
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0