AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::acl::SynchronizedMessageRequestQueue Class Reference

#include <SynchronizedMessageRequestQueue.h>

Inheritance diagram for alexaClientSDK::acl::SynchronizedMessageRequestQueue:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::acl::SynchronizedMessageRequestQueue:
Collaboration graph
[legend]

Public Member Functions

 SynchronizedMessageRequestQueue ()=default
 
 ~SynchronizedMessageRequestQueue () override
 
void enqueueRequest (std::shared_ptr< avsCommon::avs::MessageRequest > messageRequest) override
 
avsCommon::utils::Optional< std::chrono::time_point< std::chrono::steady_clock > > peekRequestTime () override
 
std::shared_ptr< avsCommon::avs::MessageRequestdequeueOldestRequest () override
 
std::shared_ptr< avsCommon::avs::MessageRequestdequeueSendableRequest () override
 
bool isMessageRequestAvailable () const override
 
void setWaitingForSendAcknowledgement () override
 
void clearWaitingForSendAcknowledgement () override
 
bool empty () const override
 
void clear () override
 
- Public Member Functions inherited from alexaClientSDK::acl::MessageRequestQueueInterface
virtual ~MessageRequestQueueInterface ()=default
 

Detailed Description

Class to manage MessageRequest send queue that is shared between instances of HTTP2Transport.

Constructor & Destructor Documentation

◆ SynchronizedMessageRequestQueue()

alexaClientSDK::acl::SynchronizedMessageRequestQueue::SynchronizedMessageRequestQueue ( )
default

Constructor.

◆ ~SynchronizedMessageRequestQueue()

alexaClientSDK::acl::SynchronizedMessageRequestQueue::~SynchronizedMessageRequestQueue ( )
override

Destructor.

Member Function Documentation

◆ clear()

void alexaClientSDK::acl::SynchronizedMessageRequestQueue::clear ( )
overridevirtual

◆ clearWaitingForSendAcknowledgement()

void alexaClientSDK::acl::SynchronizedMessageRequestQueue::clearWaitingForSendAcknowledgement ( )
overridevirtual

◆ dequeueOldestRequest()

std::shared_ptr<avsCommon::avs::MessageRequest> alexaClientSDK::acl::SynchronizedMessageRequestQueue::dequeueOldestRequest ( )
overridevirtual

◆ dequeueSendableRequest()

std::shared_ptr<avsCommon::avs::MessageRequest> alexaClientSDK::acl::SynchronizedMessageRequestQueue::dequeueSendableRequest ( )
overridevirtual

◆ empty()

bool alexaClientSDK::acl::SynchronizedMessageRequestQueue::empty ( ) const
overridevirtual

◆ enqueueRequest()

void alexaClientSDK::acl::SynchronizedMessageRequestQueue::enqueueRequest ( std::shared_ptr< avsCommon::avs::MessageRequest messageRequest)
overridevirtual

◆ isMessageRequestAvailable()

bool alexaClientSDK::acl::SynchronizedMessageRequestQueue::isMessageRequestAvailable ( ) const
overridevirtual

◆ peekRequestTime()

avsCommon::utils::Optional<std::chrono::time_point<std::chrono::steady_clock> > alexaClientSDK::acl::SynchronizedMessageRequestQueue::peekRequestTime ( )
overridevirtual

◆ setWaitingForSendAcknowledgement()

void alexaClientSDK::acl::SynchronizedMessageRequestQueue::setWaitingForSendAcknowledgement ( )
overridevirtual

The documentation for this class was generated from the following file:

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