AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <TransportObserverInterface.h>
Public Member Functions | |
virtual | ~TransportObserverInterface ()=default |
virtual void | onConnected (std::shared_ptr< TransportInterface > transport)=0 |
virtual void | onDisconnected (std::shared_ptr< TransportInterface > transport, avsCommon::sdkInterfaces::ConnectionStatusObserverInterface::ChangedReason reason)=0 |
virtual void | onServerSideDisconnect (std::shared_ptr< TransportInterface > transport)=0 |
An interface class which allows a derived class to observe a Transport implementation.
|
virtualdefault |
Destructor.
|
pure virtual |
Called when a connection to AVS is established.
transport | The transport that has connected. |
Implemented in alexaClientSDK::acl::MessageRouter.
|
pure virtual |
Called when we disconnect from AVS.
transport | The transport that is no longer connected (or attempting to connect). |
reason | The reason that we disconnected. |
Implemented in alexaClientSDK::acl::MessageRouter.
|
pure virtual |
Called when the server asks the client to reconnect
transport | The transport that has received the disconnect request. |
Implemented in alexaClientSDK::acl::MessageRouter.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0