|
AlexaClientSDK
1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Go to the documentation of this file.
16 #ifndef ALEXA_CLIENT_SDK_INTEGRATION_INCLUDE_INTEGRATION_CLIENTMESSAGEHANDLER_H_
17 #define ALEXA_CLIENT_SDK_INTEGRATION_INCLUDE_INTEGRATION_CLIENTMESSAGEHANDLER_H_
20 #include <condition_variable>
29 namespace integration {
37 ClientMessageHandler(std::shared_ptr<avsCommon::avs::attachment::AttachmentManager> attachmentManager);
44 void receive(
const std::string& contextId,
const std::string& message)
override;
53 bool waitForNext(
const std::chrono::seconds duration = std::chrono::seconds(2));
59 std::condition_variable m_wakeTrigger;
63 std::shared_ptr<avsCommon::avs::attachment::AttachmentManager> m_attachmentManager;
69 #endif // ALEXA_CLIENT_SDK_INTEGRATION_INCLUDE_INTEGRATION_CLIENTMESSAGEHANDLER_H_
Minimal implementation of a message observer for integration tests.
Definition: ClientMessageHandler.h:34
Definition: AlexaEventProcessedObserverInterface.h:23
Definition: MessageObserverInterface.h:28
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0