![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <PingHandler.h>


Public Member Functions | |
| ~PingHandler () | |
Public Member Functions inherited from alexaClientSDK::acl::ExchangeHandler | |
| ExchangeHandler (std::shared_ptr< ExchangeHandlerContextInterface > context, const std::string &authToken) | |
| virtual | ~ExchangeHandler ()=default |
Public Member Functions inherited from alexaClientSDK::avsCommon::utils::http2::HTTP2RequestSourceInterface | |
| virtual | ~HTTP2RequestSourceInterface ()=default |
Public Member Functions inherited from alexaClientSDK::avsCommon::utils::http2::HTTP2ResponseSinkInterface | |
| virtual | ~HTTP2ResponseSinkInterface ()=default |
Static Public Member Functions | |
| static std::shared_ptr< PingHandler > | create (std::shared_ptr< ExchangeHandlerContextInterface > context, const std::string &authToken, const std::shared_ptr< avsCommon::utils::power::PowerResource > &powerResource=nullptr) |
Additional Inherited Members | |
Protected Attributes inherited from alexaClientSDK::acl::ExchangeHandler | |
| std::shared_ptr< ExchangeHandlerContextInterface > | m_context |
The HTTP2Transport instance for which this exchange is to be performed. More... | |
| const std::string | m_authToken |
| The auth token used to make the request. More... | |
| const std::string | m_authHeader |
| The AVS authorization header to send in the request. More... | |
| alexaClientSDK::acl::PingHandler::~PingHandler | ( | ) |
Destructor.
|
static |
Create a PingHandler and send the ping request.
| context | The ExchangeContext in which this ping handler will operate. |
| authToken | The token to use to authorize the request. |
| powerResource | The optional powerResource object to prevent the device from going into LPM. |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0