16 #ifndef ALEXA_CLIENT_SDK_LIBIPCSERVERSAMPLEAPP_INCLUDE_IPCSERVERSAMPLEAPP_IPC_IPCHANDLERBASE_H_ 17 #define ALEXA_CLIENT_SDK_LIBIPCSERVERSAMPLEAPP_INCLUDE_IPCSERVERSAMPLEAPP_IPC_IPCHANDLERBASE_H_ 21 #include <unordered_map> 26 namespace sampleApplications {
27 namespace ipcServerSampleApp {
59 std::shared_ptr<alexaClientSDK::avsCommon::utils::threading::Executor> executor);
85 std::shared_ptr<alexaClientSDK::avsCommon::utils::threading::Executor>
m_executor;
93 #endif // ALEXA_CLIENT_SDK_LIBIPCSERVERSAMPLEAPP_INCLUDE_IPCSERVERSAMPLEAPP_IPC_IPCHANDLERBASE_H_ std::shared_ptr< alexaClientSDK::avsCommon::utils::threading::Executor > m_executor
Executor context to support operations asynchronously.
Definition: IPCHandlerBase.h:85
std::unordered_map< std::string, IPCMessageHandler > m_messageHandlers
Dictionary to hold the IPC message handler methods.
Definition: IPCHandlerBase.h:82
void invokeMethod(const std::string &methodName, const std::string &message)
::std::string string
Definition: gtest-port.h:1097
bool deregisterIPCMessageHandlerMethod(const std::string &methodName)
std::function< void(const std::string &)> IPCMessageHandler
Alias for the message handler function.
Definition: IPCHandlerBase.h:43
Definition: IPCHandlerBase.h:33
bool registerIPCMessageHandlerMethod(const std::string &methodName, IPCMessageHandler handlerFunction)
IPCHandlerBase(const std::string &namespaceName, std::shared_ptr< alexaClientSDK::avsCommon::utils::threading::Executor > executor)
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
std::string m_namespaceName
Name of the namespace of the realized IPC handler class.
Definition: IPCHandlerBase.h:79
tuple message
Definition: gtest_output_test.py:331