AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <MessageRequestQueue.h>
Public Member Functions | |
MessageRequestQueue () | |
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::MessageRequest > | dequeueOldestRequest () override |
std::shared_ptr< avsCommon::avs::MessageRequest > | dequeueSendableRequest () override |
bool | isMessageRequestAvailable () const override |
void | setWaitingForSendAcknowledgement () override |
void | clearWaitingForSendAcknowledgement () override |
bool | empty () const override |
void | clear () override |
Class to manage MessageRequest
send queues in HTTP2Transport.
Note: This class is not thread safe. The user should ensure thread safety.
alexaClientSDK::acl::MessageRequestQueue::MessageRequestQueue | ( | ) |
Constructor.
|
overridevirtual |
Override MessageRequestQueueInterface methods
Implements alexaClientSDK::acl::MessageRequestQueueInterface.
|
overridevirtual |
Override MessageRequestQueueInterface methods
Implements alexaClientSDK::acl::MessageRequestQueueInterface.
|
overridevirtual |
Override MessageRequestQueueInterface methods
Implements alexaClientSDK::acl::MessageRequestQueueInterface.
|
overridevirtual |
Override MessageRequestQueueInterface methods
Implements alexaClientSDK::acl::MessageRequestQueueInterface.
|
overridevirtual |
Override MessageRequestQueueInterface methods
Implements alexaClientSDK::acl::MessageRequestQueueInterface.
|
overridevirtual |
Override MessageRequestQueueInterface methods
Implements alexaClientSDK::acl::MessageRequestQueueInterface.
|
overridevirtual |
Override MessageRequestQueueInterface methods
Implements alexaClientSDK::acl::MessageRequestQueueInterface.
|
overridevirtual |
Override MessageRequestQueueInterface methods
Implements alexaClientSDK::acl::MessageRequestQueueInterface.
|
overridevirtual |
Override MessageRequestQueueInterface methods
Implements alexaClientSDK::acl::MessageRequestQueueInterface.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0