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

#include <MessageRouterFactoryInterface.h>

Inheritance diagram for alexaClientSDK::acl::MessageRouterFactoryInterface:
Inheritance graph
[legend]

Public Member Functions

virtual ~MessageRouterFactoryInterface ()=default
 
virtual std::shared_ptr< MessageRouterInterfacecreateMessageRouter (std::shared_ptr< AuthDelegateInterface > authDelegate, std::shared_ptr< AttachmentManagerInterface > attachmentManager, std::shared_ptr< TransportFactoryInterface > transportFactory)=0
 

Detailed Description

Interface for creating instances of MessageRouterInterface

Constructor & Destructor Documentation

◆ ~MessageRouterFactoryInterface()

virtual alexaClientSDK::acl::MessageRouterFactoryInterface::~MessageRouterFactoryInterface ( )
virtualdefault

Destructor.

Member Function Documentation

◆ createMessageRouter()

virtual std::shared_ptr<MessageRouterInterface> alexaClientSDK::acl::MessageRouterFactoryInterface::createMessageRouter ( std::shared_ptr< AuthDelegateInterface authDelegate,
std::shared_ptr< AttachmentManagerInterface attachmentManager,
std::shared_ptr< TransportFactoryInterface transportFactory 
)
pure virtual

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

Implemented in alexaClientSDK::acl::MessageRouterFactory.


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

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