aws-crt-cpp
C++ wrapper around the aws-c-* libraries. Provides Cross-Platform Transport Protocols and SSL/TLS implementations for C++.
|
#include <MqttRequestResponseClient.h>
Public Member Functions | |
StreamingOperationOptions & | WithSubscriptionStatusEventHandler (const SubscriptionStatusEventHandler &handler) |
StreamingOperationOptions & | WithStreamHandler (const std::function< void(T &&)> &handler) |
const SubscriptionStatusEventHandler & | GetSubscriptionStatusEventHandler () const |
const std::function< void(T &&)> & | GetStreamHandler () const |
Generic configuration options for streaming operations
T | modeled message type emitted/handled by a particular stream |
|
inline |
Gets the handler function a streaming operation will use for the modeled message type.
|
inline |
Gets the handler function a streaming operation will use for subscription status events.
|
inline |
Sets the handler function a streaming operation will use for the modeled message type.
handler | the handler function a streaming operation will use for the modeled message type |
|
inline |
Sets the handler function a streaming operation will use for subscription status events.
handler | the handler function a streaming operation will use for subscription status events |