AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::sampleApplications::ipcServerSampleApp::communication::MessagingInterface Class Referenceabstract

#include <MessagingInterface.h>

Inheritance diagram for alexaClientSDK::sampleApplications::ipcServerSampleApp::communication::MessagingInterface:
Inheritance graph
[legend]

Public Member Functions

virtual void writeMessage (const std::string &payload)=0
 
virtual void setMessageListener (std::shared_ptr< MessageListenerInterface > messageListener)=0
 

Detailed Description

Messaging interface for sending and receiving messages with arbitrary sinks

Member Function Documentation

◆ setMessageListener()

virtual void alexaClientSDK::sampleApplications::ipcServerSampleApp::communication::MessagingInterface::setMessageListener ( std::shared_ptr< MessageListenerInterface messageListener)
pure virtual

Set a listener interface that is called when new messages are received

Note
Subsequent call to this method override the previous listener.
Parameters
messageListener

Implemented in alexaClientSDK::sampleApplications::ipcServerSampleApp::communication::WebSocketServer.

◆ writeMessage()

virtual void alexaClientSDK::sampleApplications::ipcServerSampleApp::communication::MessagingInterface::writeMessage ( const std::string &  payload)
pure virtual

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