AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <MessageRouterFactory.h>
Public Member Functions | |
MessageRouterFactory () | |
MessageRouterFactoryInterface methods. | |
std::shared_ptr< MessageRouterInterface > | createMessageRouter (std::shared_ptr< AuthDelegateInterface > authDelegate, std::shared_ptr< AttachmentManagerInterface > attachmentManager, std::shared_ptr< TransportFactoryInterface > transportFactory) override |
Factory for creating MessageRouter instances that manages connection over some medium to AVS.
alexaClientSDK::acl::MessageRouterFactory::MessageRouterFactory | ( | ) |
Default constructor
|
overridevirtual |
Create a MessageRouter.
authDelegate | An implementation of an AuthDelegate, which will provide valid access tokens with which the MessageRouter can authorize the client to AVS. |
attachmentManager | The AttachmentManager, which allows ACL to write attachments received from AVS. |
transportFactory | Factory used to create new instances of TransportInterface . |
Implements alexaClientSDK::acl::MessageRouterFactoryInterface.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0