![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <MessagingServerInterface.h>
Public Member Functions | |
virtual bool | start ()=0 |
virtual void | stop ()=0 |
virtual bool | isReady ()=0 |
virtual void | setObserver (const std::shared_ptr< MessagingServerObserverInterface > &observer)=0 |
![]() | |
virtual void | writeMessage (const std::string &payload)=0 |
virtual void | setMessageListener (std::shared_ptr< MessageListenerInterface > messageListener)=0 |
Server with a MessagingInterface
capabilities.
|
pure virtual |
Is the medium ready for passing messages
Implemented in alexaClientSDK::sampleApplications::ipcServerSampleApp::gui::GUIClient, and alexaClientSDK::sampleApplications::ipcServerSampleApp::communication::WebSocketServer.
|
pure virtual |
Set server observer.
observer | The observer which should gets notified whenever a new connection is open or a connection is closed. |
|
pure virtual |
Start the implementation of the MessagingInterface
true
for success. False
otherwise. Implemented in alexaClientSDK::sampleApplications::ipcServerSampleApp::gui::GUIClient, and alexaClientSDK::sampleApplications::ipcServerSampleApp::communication::WebSocketServer.
|
pure virtual |
Stop the messaging implmentation
Implemented in alexaClientSDK::sampleApplications::ipcServerSampleApp::gui::GUIClient, and alexaClientSDK::sampleApplications::ipcServerSampleApp::communication::WebSocketServer.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0