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::IMqttRequestResponseClient Class Referenceabstract

#include <MqttRequestResponseClient.h>

Inheritance diagram for Aws::Iot::RequestResponse::IMqttRequestResponseClient:
Aws::Iot::RequestResponse::MqttRequestResponseClient

Public Member Functions

virtual ~IMqttRequestResponseClient ()=default
 
virtual int SubmitRequest (const aws_mqtt_request_operation_options &requestOptions, UnmodeledResultHandler &&resultHandler)=0
 
virtual std::shared_ptr< IStreamingOperationCreateStream (const StreamingOperationOptionsInternal &options)=0
 

Detailed Description

Generic interface for the request-response client

Constructor & Destructor Documentation

virtual Aws::Iot::RequestResponse::IMqttRequestResponseClient::~IMqttRequestResponseClient ( )
virtualdefault

There is no close operation for the client. When the destructor is invoked, the underlying client will be closed.

Member Function Documentation

virtual std::shared_ptr<IStreamingOperation> Aws::Iot::RequestResponse::IMqttRequestResponseClient::CreateStream ( const StreamingOperationOptionsInternal options)
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.

Parameters
optionsconfiguration options for the streaming operation to construct
Returns

Implemented in Aws::Iot::RequestResponse::MqttRequestResponseClient.

virtual int Aws::Iot::RequestResponse::IMqttRequestResponseClient::SubmitRequest ( const aws_mqtt_request_operation_options &  requestOptions,
UnmodeledResultHandler &&  resultHandler 
)
pure virtual

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)

Implemented in Aws::Iot::RequestResponse::MqttRequestResponseClient.


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