AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Macros | Functions | Variables
PingHandler.cpp File Reference
#include <AVSCommon/Utils/HTTP/HttpResponseCode.h>
#include <AVSCommon/Utils/Logger/Logger.h>
#include <AVSCommon/Utils/Power/PowerMonitor.h>
#include "ACL/Transport/HTTP2Transport.h"
#include "ACL/Transport/PingHandler.h"
Include dependency graph for PingHandler.cpp:

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::acl
 

Macros

#define LX(event)   alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event)
 

Functions

static const std::chrono::milliseconds alexaClientSDK::acl::PING_TRANSFER_TIMEOUT (15000)
 Max time to wait for a ping reply. More...
 
static const std::string alexaClientSDK::acl::TAG ("PingHandler")
 String to identify log entries originating from this file. More...
 

Variables

const static std::string alexaClientSDK::acl::AVS_PING_URL_PATH_EXTENSION = "/ping"
 URL to send pings to. More...
 
static const uint8_t alexaClientSDK::acl::PING_PRIORITY = 200
 Priority for ping requests (high, default is 16). More...
 
static const std::string alexaClientSDK::acl::PING_ID_PREFIX = "AVSPing-"
 Prefix for the ID of ping requests. More...
 

Macro Definition Documentation

◆ LX

#define LX (   event)    alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event)

Create a LogEntry using this file's TAG and the specified event string.

Parameters
eventThe event string for this LogEntry.

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