AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <TransportFactoryInterface.h>
Public Member Functions | |
virtual std::shared_ptr< TransportInterface > | createTransport (std::shared_ptr< avsCommon::sdkInterfaces::AuthDelegateInterface > authDelegate, std::shared_ptr< avsCommon::avs::attachment::AttachmentManagerInterface > attachmentManager, const std::string &avsGateway, std::shared_ptr< MessageConsumerInterface > messageConsumerInterface, std::shared_ptr< TransportObserverInterface > transportObserverInterface, std::shared_ptr< SynchronizedMessageRequestQueue > sharedMessageRequestQueue)=0 |
virtual | ~TransportFactoryInterface ()=default |
This is the interface for the transport factory
|
virtualdefault |
Destructor.
|
pure virtual |
Creates a new transport.
authDelegate | The AuthDelegateInterface to use for authentication and authorization with AVS. |
attachmentManager | The attachment manager that manages the attachments. |
avsGateway | The URL for the AVS server we will connect to. |
messageConsumerInterface | The object which should be notified on messages which arrive from AVS. |
transportObserverInterface | A pointer to the transport observer the new transport should notify. |
sharedRequestQueue | Request queue shared by all instances of TransportInterface. |
Implemented in alexaClientSDK::acl::HTTP2TransportFactory.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0