![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <TransportInterface.h>


Public Member Functions | |
| TransportInterface () | |
| virtual bool | connect ()=0 |
| virtual void | disconnect ()=0 |
| virtual bool | isConnected ()=0 |
| virtual void | onRequestEnqueued ()=0 |
| virtual void | onWakeConnectionRetry ()=0 |
| virtual void | onWakeVerifyConnectivity ()=0 |
| TransportInterface (const TransportInterface &rhs)=delete | |
| TransportInterface & | operator= (const TransportInterface &rhs)=delete |
| virtual | ~TransportInterface ()=default |
Public Member Functions inherited from alexaClientSDK::avsCommon::utils::RequiresShutdown | |
| RequiresShutdown (const std::string &name) | |
| virtual | ~RequiresShutdown () |
| Destructor. More... | |
| const std::string & | name () const |
| void | shutdown () |
| bool | isShutdown () const |
Additional Inherited Members | |
Protected Member Functions inherited from alexaClientSDK::avsCommon::utils::RequiresShutdown | |
| virtual void | doShutdown ()=0 |
This class defines the interface which must be implemented to represent the creation and management of a specific connection to AVS.
|
inline |
TransportInterface constructor.
|
delete |
Deleted copy constructor
| rhs | The 'right hand side' to not copy. |
|
virtualdefault |
Destructor.
|
pure virtual |
Initiate a connection to AVS. This function may operate asynchronously, meaning its return value does not imply a successful connection, but that an attempt to connect has been successfully started. This function may not be thread-safe.
Implemented in alexaClientSDK::acl::HTTP2Transport.
|
pure virtual |
Disconnect from AVS. This function may not be thread-safe.
Implemented in alexaClientSDK::acl::HTTP2Transport.
|
pure virtual |
Returns whether this object is currently connected to AVS.
Implemented in alexaClientSDK::acl::HTTP2Transport.
|
pure virtual |
A message request has been added to the shared synchronized queue and is ready to be read.
Implemented in alexaClientSDK::acl::HTTP2Transport.
|
pure virtual |
This method is a hint to retry connecting (if not connected).
Implemented in alexaClientSDK::acl::HTTP2Transport.
|
pure virtual |
This method is a hint to verify that there is a valid connection ot AVS.
Implemented in alexaClientSDK::acl::HTTP2Transport.
|
delete |
Deleted assignment operator
| rhs | The 'right hand side' to not copy. |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0