AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Macros | Functions | Variables
PostConnectSynchronizeStateSender.cpp File Reference
#include "SynchronizeStateSender/PostConnectSynchronizeStateSender.h"
#include <AVSCommon/AVS/EventBuilder.h>
#include <AVSCommon/Utils/Logger/Logger.h>
#include <AVSCommon/Utils/RetryTimer.h>
#include <AVSCommon/Utils/Metrics.h>
#include <AVSCommon/Utils/Metrics/DataPointDurationBuilder.h>
#include <AVSCommon/Utils/Metrics/DataPointCounterBuilder.h>
#include <AVSCommon/Utils/Metrics/DataPointStringBuilder.h>
#include <AVSCommon/Utils/Metrics/MetricEventBuilder.h>
Include dependency graph for PostConnectSynchronizeStateSender.cpp:

Namespaces

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

Macros

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

Functions

static const std::string alexaClientSDK::synchronizeStateSender::TAG ("PostConnectSynchronizeStateSender")
 String to identify log entries originating from this file. More...
 
static void alexaClientSDK::synchronizeStateSender::submitMetric (const std::shared_ptr< MetricRecorderInterface > &metricRecorder, const std::string &eventName, const std::string &reason)
 

Variables

static const std::string alexaClientSDK::synchronizeStateSender::SYNCHRONIZE_STATE_NAMESPACE = "System"
 The namespace for the SynchronizeState event. More...
 
static const std::string alexaClientSDK::synchronizeStateSender::SYNCHRONIZE_STATE_NAME = "SynchronizeState"
 The name of the SynchronizeState event. More...
 
static const std::string alexaClientSDK::synchronizeStateSender::METRIC_ACTIVITY_NAME_PREFIX = "POSTCONNECT_SYNCHRONIZE_STATE_SENDER-"
 Metric Activity Name Prefix for PostConnectSynchronizeStateSender metric source. More...
 
static const std::vector< int > alexaClientSDK::synchronizeStateSender::RETRY_TABLE
 Table with the retry times on subsequent retries. More...
 
static avsCommon::utils::RetryTimer alexaClientSDK::synchronizeStateSender::RETRY_TIMER {RETRY_TABLE}
 The instance of the RetryTimer used to calculate retry backoff times. More...
 
std::chrono::milliseconds alexaClientSDK::synchronizeStateSender::CONTEXT_FETCH_TIMEOUT = std::chrono::milliseconds(2000)
 Timeout value for ContextManager to return the context. More...
 

Macro Definition Documentation

◆ LX

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

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

Parameters
Theevent 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