AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::acl::MessageRouterFactory Class Reference

#include <MessageRouterFactory.h>

Inheritance diagram for alexaClientSDK::acl::MessageRouterFactory:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::acl::MessageRouterFactory:
Collaboration graph
[legend]

Public Member Functions

 MessageRouterFactory ()
 
MessageRouterFactoryInterface methods.
std::shared_ptr< MessageRouterInterfacecreateMessageRouter (std::shared_ptr< AuthDelegateInterface > authDelegate, std::shared_ptr< AttachmentManagerInterface > attachmentManager, std::shared_ptr< TransportFactoryInterface > transportFactory) override
 
- Public Member Functions inherited from alexaClientSDK::acl::MessageRouterFactoryInterface
virtual ~MessageRouterFactoryInterface ()=default
 

Detailed Description

Factory for creating MessageRouter instances that manages connection over some medium to AVS.

Constructor & Destructor Documentation

◆ MessageRouterFactory()

alexaClientSDK::acl::MessageRouterFactory::MessageRouterFactory ( )

Default constructor

Member Function Documentation

◆ createMessageRouter()

std::shared_ptr<MessageRouterInterface> alexaClientSDK::acl::MessageRouterFactory::createMessageRouter ( std::shared_ptr< AuthDelegateInterface authDelegate,
std::shared_ptr< AttachmentManagerInterface attachmentManager,
std::shared_ptr< TransportFactoryInterface transportFactory 
)
overridevirtual

Create a MessageRouter.

Parameters
authDelegateAn implementation of an AuthDelegate, which will provide valid access tokens with which the MessageRouter can authorize the client to AVS.
attachmentManagerThe AttachmentManager, which allows ACL to write attachments received from AVS.
transportFactoryFactory used to create new instances of TransportInterface.
Returns
A new MessageRouter object

Implements alexaClientSDK::acl::MessageRouterFactoryInterface.


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

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