16 #ifndef ALEXA_CLIENT_SDK_ACL_INCLUDE_ACL_TRANSPORT_SYNCHRONIZEDMESSAGEREQUESTQUEUE_H_ 17 #define ALEXA_CLIENT_SDK_ACL_INCLUDE_ACL_TRANSPORT_SYNCHRONIZEDMESSAGEREQUESTQUEUE_H_ 21 #include <unordered_map> 48 void enqueueRequest(std::shared_ptr<avsCommon::avs::MessageRequest> messageRequest)
override;
55 bool empty()
const override;
56 void clear()
override;
60 mutable std::mutex m_mutex;
68 #endif // ALEXA_CLIENT_SDK_ACL_INCLUDE_ACL_TRANSPORT_SYNCHRONIZEDMESSAGEREQUESTQUEUE_H_ bool empty() const override
std::shared_ptr< avsCommon::avs::MessageRequest > dequeueSendableRequest() override
Definition: MessageRequestQueueInterface.h:33
void enqueueRequest(std::shared_ptr< avsCommon::avs::MessageRequest > messageRequest) override
Definition: SynchronizedMessageRequestQueue.h:34
Definition: Optional.h:32
std::shared_ptr< avsCommon::avs::MessageRequest > dequeueOldestRequest() override
avsCommon::utils::Optional< std::chrono::time_point< std::chrono::steady_clock > > peekRequestTime() override
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
bool isMessageRequestAvailable() const override
SynchronizedMessageRequestQueue()=default
void clearWaitingForSendAcknowledgement() override
Definition: MessageRequestQueue.h:37
void setWaitingForSendAcknowledgement() override
~SynchronizedMessageRequestQueue() override