AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | Public Attributes | List of all members
alexaClientSDK::avsCommon::utils::observer::test::TestMessageRequestObserver Class Reference

#include <TestMessageRequestObserver.h>

Inheritance diagram for alexaClientSDK::avsCommon::utils::observer::test::TestMessageRequestObserver:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::avsCommon::utils::observer::test::TestMessageRequestObserver:
Collaboration graph
[legend]

Public Member Functions

void onSendCompleted (MessageRequestObserverInterface::Status status)
 
void onExceptionReceived (const std::string &exceptionMessage)
 
- Public Member Functions inherited from alexaClientSDK::avsCommon::sdkInterfaces::MessageRequestObserverInterface
virtual ~MessageRequestObserverInterface ()=default
 
virtual void onResponseStatusReceived (MessageRequestObserverInterface::Status status)
 

Public Attributes

PromiseFuturePair< MessageRequestObserverInterface::Statusm_status
 
PromiseFuturePair< std::string > m_exception
 

Additional Inherited Members

- Public Types inherited from alexaClientSDK::avsCommon::sdkInterfaces::MessageRequestObserverInterface
enum  Status {
  Status::PENDING, Status::SUCCESS, Status::SUCCESS_ACCEPTED, Status::SUCCESS_NO_CONTENT,
  Status::NOT_CONNECTED, Status::NOT_SYNCHRONIZED, Status::TIMEDOUT, Status::PROTOCOL_ERROR,
  Status::INTERNAL_ERROR, Status::SERVER_INTERNAL_ERROR_V2, Status::REFUSED, Status::CANCELED,
  Status::THROTTLED, Status::INVALID_AUTH, Status::BAD_REQUEST, Status::SERVER_OTHER_ERROR
}
 

Member Function Documentation

◆ onExceptionReceived()

void alexaClientSDK::avsCommon::utils::observer::test::TestMessageRequestObserver::onExceptionReceived ( const std::string &  exceptionMessage)
virtual

◆ onSendCompleted()

void alexaClientSDK::avsCommon::utils::observer::test::TestMessageRequestObserver::onSendCompleted ( MessageRequestObserverInterface::Status  status)
virtual

Member Data Documentation

◆ m_exception

PromiseFuturePair<std::string> alexaClientSDK::avsCommon::utils::observer::test::TestMessageRequestObserver::m_exception

A promise that MessageRequestObserverInterface::onExceptionReceived() will be called with an exception message

◆ m_status

PromiseFuturePair<MessageRequestObserverInterface::Status> alexaClientSDK::avsCommon::utils::observer::test::TestMessageRequestObserver::m_status

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

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