aws-crt-cpp
C++ wrapper around the aws-c-* libraries. Provides Cross-Platform Transport Protocols and SSL/TLS implementations for C++.
Public Member Functions | List of all members
Aws::Iot::RequestResponse::MqttRequestResponseClient Class Reference
Inheritance diagram for Aws::Iot::RequestResponse::MqttRequestResponseClient:
Aws::Iot::RequestResponse::IMqttRequestResponseClient

Public Member Functions

 MqttRequestResponseClient (MqttRequestResponseClientImpl *impl)
 
virtual ~MqttRequestResponseClient ()
 
int SubmitRequest (const aws_mqtt_request_operation_options &requestOptions, UnmodeledResultHandler &&resultHandler) override
 
std::shared_ptr< IStreamingOperationCreateStream (const StreamingOperationOptionsInternal &options) override
 
- Public Member Functions inherited from Aws::Iot::RequestResponse::IMqttRequestResponseClient
virtual ~IMqttRequestResponseClient ()=default
 

Constructor & Destructor Documentation

Aws::Iot::RequestResponse::MqttRequestResponseClient::MqttRequestResponseClient ( MqttRequestResponseClientImpl impl)
explicit
Aws::Iot::RequestResponse::MqttRequestResponseClient::~MqttRequestResponseClient ( )
virtual

Member Function Documentation

std::shared_ptr< IStreamingOperation > Aws::Iot::RequestResponse::MqttRequestResponseClient::CreateStream ( const StreamingOperationOptionsInternal options)
overridevirtual

Creates a new streaming operation. Streaming operations "listen" to a specific kind of service event and invoke handlers every time one is received.

Parameters
optionsconfiguration options for the streaming operation to construct
Returns

Implements Aws::Iot::RequestResponse::IMqttRequestResponseClient.

int Aws::Iot::RequestResponse::MqttRequestResponseClient::SubmitRequest ( const aws_mqtt_request_operation_options &  requestOptions,
UnmodeledResultHandler &&  resultHandler 
)
overridevirtual

Submits a generic request to the request-response client.

Parameters
requestOptionsdescription of the request the client should perform
resultHandlerfunction object to invoke when the request is completed
Returns
success (AWS_OP_SUCCESS) or failure (AWS_OP_ERR)

Implements Aws::Iot::RequestResponse::IMqttRequestResponseClient.


The documentation for this class was generated from the following file: