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 | |
virtual | ~IMqttRequestResponseClient ()=default |
virtual int | SubmitRequest (const aws_mqtt_request_operation_options &requestOptions, UnmodeledResultHandler &&resultHandler)=0 |
virtual std::shared_ptr< IStreamingOperation > | CreateStream (const StreamingOperationOptionsInternal &options)=0 |
Generic interface for the request-response client
|
virtualdefault |
There is no close operation for the client. When the destructor is invoked, the underlying client will be closed.
|
pure virtual |
Creates a new streaming operation. Streaming operations "listen" to a specific kind of service event and invoke handlers every time one is received.
options | configuration options for the streaming operation to construct |
Implemented in Aws::Iot::RequestResponse::MqttRequestResponseClient.
|
pure virtual |
Submits a generic request to the request-response client.
requestOptions | description of the request the client should perform |
resultHandler | function object to invoke when the request is completed |
Implemented in Aws::Iot::RequestResponse::MqttRequestResponseClient.