public class IotShadowClient extends Object
| Constructor and Description |
|---|
IotShadowClient(software.amazon.awssdk.crt.mqtt.MqttClientConnection connection) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Integer> |
PublishDeleteNamedShadow(DeleteNamedShadowRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos)
Deletes a named shadow for an AWS IoT thing.
|
CompletableFuture<Integer> |
PublishDeleteShadow(DeleteShadowRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos)
Deletes the (classic) shadow for an AWS IoT thing.
|
CompletableFuture<Integer> |
PublishGetNamedShadow(GetNamedShadowRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos)
Gets a named shadow for an AWS IoT thing.
|
CompletableFuture<Integer> |
PublishGetShadow(GetShadowRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos)
Gets the (classic) shadow for an AWS IoT thing.
|
CompletableFuture<Integer> |
PublishUpdateNamedShadow(UpdateNamedShadowRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos)
Update a named shadow for a device.
|
CompletableFuture<Integer> |
PublishUpdateShadow(UpdateShadowRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos)
Update a device's (classic) shadow.
|
CompletableFuture<Integer> |
SubscribeToDeleteNamedShadowAccepted(DeleteNamedShadowSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<DeleteShadowResponse> handler)
Subscribes to the accepted topic for the DeleteNamedShadow operation.
|
CompletableFuture<Integer> |
SubscribeToDeleteNamedShadowAccepted(DeleteNamedShadowSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<DeleteShadowResponse> handler,
Consumer<Exception> exceptionHandler)
Subscribes to the accepted topic for the DeleteNamedShadow operation.
|
CompletableFuture<Integer> |
SubscribeToDeleteNamedShadowRejected(DeleteNamedShadowSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<ErrorResponse> handler)
Subscribes to the rejected topic for the DeleteNamedShadow operation.
|
CompletableFuture<Integer> |
SubscribeToDeleteNamedShadowRejected(DeleteNamedShadowSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<ErrorResponse> handler,
Consumer<Exception> exceptionHandler)
Subscribes to the rejected topic for the DeleteNamedShadow operation.
|
CompletableFuture<Integer> |
SubscribeToDeleteShadowAccepted(DeleteShadowSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<DeleteShadowResponse> handler)
Subscribes to the accepted topic for the DeleteShadow operation
Once subscribed, `handler` is invoked each time a message matching
the `topic` is received.
|
CompletableFuture<Integer> |
SubscribeToDeleteShadowAccepted(DeleteShadowSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<DeleteShadowResponse> handler,
Consumer<Exception> exceptionHandler)
Subscribes to the accepted topic for the DeleteShadow operation
Once subscribed, `handler` is invoked each time a message matching
the `topic` is received.
|
CompletableFuture<Integer> |
SubscribeToDeleteShadowRejected(DeleteShadowSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<ErrorResponse> handler)
Subscribes to the rejected topic for the DeleteShadow operation
Once subscribed, `handler` is invoked each time a message matching
the `topic` is received.
|
CompletableFuture<Integer> |
SubscribeToDeleteShadowRejected(DeleteShadowSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<ErrorResponse> handler,
Consumer<Exception> exceptionHandler)
Subscribes to the rejected topic for the DeleteShadow operation
Once subscribed, `handler` is invoked each time a message matching
the `topic` is received.
|
CompletableFuture<Integer> |
SubscribeToGetNamedShadowAccepted(GetNamedShadowSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<GetShadowResponse> handler)
Subscribes to the accepted topic for the GetNamedShadow operation.
|
CompletableFuture<Integer> |
SubscribeToGetNamedShadowAccepted(GetNamedShadowSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<GetShadowResponse> handler,
Consumer<Exception> exceptionHandler)
Subscribes to the accepted topic for the GetNamedShadow operation.
|
CompletableFuture<Integer> |
SubscribeToGetNamedShadowRejected(GetNamedShadowSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<ErrorResponse> handler)
Subscribes to the rejected topic for the GetNamedShadow operation.
|
CompletableFuture<Integer> |
SubscribeToGetNamedShadowRejected(GetNamedShadowSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<ErrorResponse> handler,
Consumer<Exception> exceptionHandler)
Subscribes to the rejected topic for the GetNamedShadow operation.
|
CompletableFuture<Integer> |
SubscribeToGetShadowAccepted(GetShadowSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<GetShadowResponse> handler)
Subscribes to the accepted topic for the GetShadow operation.
|
CompletableFuture<Integer> |
SubscribeToGetShadowAccepted(GetShadowSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<GetShadowResponse> handler,
Consumer<Exception> exceptionHandler)
Subscribes to the accepted topic for the GetShadow operation.
|
CompletableFuture<Integer> |
SubscribeToGetShadowRejected(GetShadowSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<ErrorResponse> handler)
Subscribes to the rejected topic for the GetShadow operation.
|
CompletableFuture<Integer> |
SubscribeToGetShadowRejected(GetShadowSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<ErrorResponse> handler,
Consumer<Exception> exceptionHandler)
Subscribes to the rejected topic for the GetShadow operation.
|
CompletableFuture<Integer> |
SubscribeToNamedShadowDeltaUpdatedEvents(NamedShadowDeltaUpdatedSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<ShadowDeltaUpdatedEvent> handler)
Subscribe to NamedShadowDelta events for a named shadow of an AWS IoT thing.
|
CompletableFuture<Integer> |
SubscribeToNamedShadowDeltaUpdatedEvents(NamedShadowDeltaUpdatedSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<ShadowDeltaUpdatedEvent> handler,
Consumer<Exception> exceptionHandler)
Subscribe to NamedShadowDelta events for a named shadow of an AWS IoT thing.
|
CompletableFuture<Integer> |
SubscribeToNamedShadowUpdatedEvents(NamedShadowUpdatedSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<ShadowUpdatedEvent> handler)
Subscribe to ShadowUpdated events for a named shadow of an AWS IoT thing.
|
CompletableFuture<Integer> |
SubscribeToNamedShadowUpdatedEvents(NamedShadowUpdatedSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<ShadowUpdatedEvent> handler,
Consumer<Exception> exceptionHandler)
Subscribe to ShadowUpdated events for a named shadow of an AWS IoT thing.
|
CompletableFuture<Integer> |
SubscribeToShadowDeltaUpdatedEvents(ShadowDeltaUpdatedSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<ShadowDeltaUpdatedEvent> handler)
Subscribe to ShadowDelta events for the (classic) shadow of an AWS IoT thing.
|
CompletableFuture<Integer> |
SubscribeToShadowDeltaUpdatedEvents(ShadowDeltaUpdatedSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<ShadowDeltaUpdatedEvent> handler,
Consumer<Exception> exceptionHandler)
Subscribe to ShadowDelta events for the (classic) shadow of an AWS IoT thing.
|
CompletableFuture<Integer> |
SubscribeToShadowUpdatedEvents(ShadowUpdatedSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<ShadowUpdatedEvent> handler)
Subscribe to ShadowUpdated events for the (classic) shadow of an AWS IoT thing.
|
CompletableFuture<Integer> |
SubscribeToShadowUpdatedEvents(ShadowUpdatedSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<ShadowUpdatedEvent> handler,
Consumer<Exception> exceptionHandler)
Subscribe to ShadowUpdated events for the (classic) shadow of an AWS IoT thing.
|
CompletableFuture<Integer> |
SubscribeToUpdateNamedShadowAccepted(UpdateNamedShadowSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<UpdateShadowResponse> handler)
Subscribes to the accepted topic for the UpdateNamedShadow operation
Once subscribed, `handler` is invoked each time a message matching
the `topic` is received.
|
CompletableFuture<Integer> |
SubscribeToUpdateNamedShadowAccepted(UpdateNamedShadowSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<UpdateShadowResponse> handler,
Consumer<Exception> exceptionHandler)
Subscribes to the accepted topic for the UpdateNamedShadow operation
Once subscribed, `handler` is invoked each time a message matching
the `topic` is received.
|
CompletableFuture<Integer> |
SubscribeToUpdateNamedShadowRejected(UpdateNamedShadowSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<ErrorResponse> handler)
Subscribes to the rejected topic for the UpdateNamedShadow operation
Once subscribed, `handler` is invoked each time a message matching
the `topic` is received.
|
CompletableFuture<Integer> |
SubscribeToUpdateNamedShadowRejected(UpdateNamedShadowSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<ErrorResponse> handler,
Consumer<Exception> exceptionHandler)
Subscribes to the rejected topic for the UpdateNamedShadow operation
Once subscribed, `handler` is invoked each time a message matching
the `topic` is received.
|
CompletableFuture<Integer> |
SubscribeToUpdateShadowAccepted(UpdateShadowSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<UpdateShadowResponse> handler)
Subscribes to the accepted topic for the UpdateShadow operation
Once subscribed, `handler` is invoked each time a message matching
the `topic` is received.
|
CompletableFuture<Integer> |
SubscribeToUpdateShadowAccepted(UpdateShadowSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<UpdateShadowResponse> handler,
Consumer<Exception> exceptionHandler)
Subscribes to the accepted topic for the UpdateShadow operation
Once subscribed, `handler` is invoked each time a message matching
the `topic` is received.
|
CompletableFuture<Integer> |
SubscribeToUpdateShadowRejected(UpdateShadowSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<ErrorResponse> handler)
Subscribes to the rejected topic for the UpdateShadow operation
Once subscribed, `handler` is invoked each time a message matching
the `topic` is received.
|
CompletableFuture<Integer> |
SubscribeToUpdateShadowRejected(UpdateShadowSubscriptionRequest request,
software.amazon.awssdk.crt.mqtt.QualityOfService qos,
Consumer<ErrorResponse> handler,
Consumer<Exception> exceptionHandler)
Subscribes to the rejected topic for the UpdateShadow operation
Once subscribed, `handler` is invoked each time a message matching
the `topic` is received.
|
public IotShadowClient(software.amazon.awssdk.crt.mqtt.MqttClientConnection connection)
public CompletableFuture<Integer> SubscribeToUpdateShadowRejected(UpdateShadowSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<ErrorResponse> handler, Consumer<Exception> exceptionHandler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicexceptionHandler - callback function to invoke if an exception occurred deserializing a messagepublic CompletableFuture<Integer> SubscribeToUpdateShadowRejected(UpdateShadowSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<ErrorResponse> handler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicpublic CompletableFuture<Integer> SubscribeToShadowDeltaUpdatedEvents(ShadowDeltaUpdatedSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<ShadowDeltaUpdatedEvent> handler, Consumer<Exception> exceptionHandler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicexceptionHandler - callback function to invoke if an exception occurred deserializing a messagepublic CompletableFuture<Integer> SubscribeToShadowDeltaUpdatedEvents(ShadowDeltaUpdatedSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<ShadowDeltaUpdatedEvent> handler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicpublic CompletableFuture<Integer> SubscribeToGetNamedShadowRejected(GetNamedShadowSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<ErrorResponse> handler, Consumer<Exception> exceptionHandler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicexceptionHandler - callback function to invoke if an exception occurred deserializing a messagepublic CompletableFuture<Integer> SubscribeToGetNamedShadowRejected(GetNamedShadowSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<ErrorResponse> handler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicpublic CompletableFuture<Integer> SubscribeToDeleteNamedShadowRejected(DeleteNamedShadowSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<ErrorResponse> handler, Consumer<Exception> exceptionHandler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicexceptionHandler - callback function to invoke if an exception occurred deserializing a messagepublic CompletableFuture<Integer> SubscribeToDeleteNamedShadowRejected(DeleteNamedShadowSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<ErrorResponse> handler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicpublic CompletableFuture<Integer> PublishDeleteShadow(DeleteShadowRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos)
request - Message to be serialized and sentqos - Quality of Service for delivering this messagepublic CompletableFuture<Integer> PublishGetNamedShadow(GetNamedShadowRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos)
request - Message to be serialized and sentqos - Quality of Service for delivering this messagepublic CompletableFuture<Integer> SubscribeToDeleteShadowAccepted(DeleteShadowSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<DeleteShadowResponse> handler, Consumer<Exception> exceptionHandler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicexceptionHandler - callback function to invoke if an exception occurred deserializing a messagepublic CompletableFuture<Integer> SubscribeToDeleteShadowAccepted(DeleteShadowSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<DeleteShadowResponse> handler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicpublic CompletableFuture<Integer> SubscribeToGetShadowAccepted(GetShadowSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<GetShadowResponse> handler, Consumer<Exception> exceptionHandler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicexceptionHandler - callback function to invoke if an exception occurred deserializing a messagepublic CompletableFuture<Integer> SubscribeToGetShadowAccepted(GetShadowSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<GetShadowResponse> handler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicpublic CompletableFuture<Integer> SubscribeToGetNamedShadowAccepted(GetNamedShadowSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<GetShadowResponse> handler, Consumer<Exception> exceptionHandler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicexceptionHandler - callback function to invoke if an exception occurred deserializing a messagepublic CompletableFuture<Integer> SubscribeToGetNamedShadowAccepted(GetNamedShadowSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<GetShadowResponse> handler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicpublic CompletableFuture<Integer> SubscribeToNamedShadowUpdatedEvents(NamedShadowUpdatedSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<ShadowUpdatedEvent> handler, Consumer<Exception> exceptionHandler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicexceptionHandler - callback function to invoke if an exception occurred deserializing a messagepublic CompletableFuture<Integer> SubscribeToNamedShadowUpdatedEvents(NamedShadowUpdatedSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<ShadowUpdatedEvent> handler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicpublic CompletableFuture<Integer> SubscribeToShadowUpdatedEvents(ShadowUpdatedSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<ShadowUpdatedEvent> handler, Consumer<Exception> exceptionHandler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicexceptionHandler - callback function to invoke if an exception occurred deserializing a messagepublic CompletableFuture<Integer> SubscribeToShadowUpdatedEvents(ShadowUpdatedSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<ShadowUpdatedEvent> handler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicpublic CompletableFuture<Integer> PublishDeleteNamedShadow(DeleteNamedShadowRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos)
request - Message to be serialized and sentqos - Quality of Service for delivering this messagepublic CompletableFuture<Integer> SubscribeToDeleteNamedShadowAccepted(DeleteNamedShadowSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<DeleteShadowResponse> handler, Consumer<Exception> exceptionHandler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicexceptionHandler - callback function to invoke if an exception occurred deserializing a messagepublic CompletableFuture<Integer> SubscribeToDeleteNamedShadowAccepted(DeleteNamedShadowSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<DeleteShadowResponse> handler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicpublic CompletableFuture<Integer> SubscribeToDeleteShadowRejected(DeleteShadowSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<ErrorResponse> handler, Consumer<Exception> exceptionHandler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicexceptionHandler - callback function to invoke if an exception occurred deserializing a messagepublic CompletableFuture<Integer> SubscribeToDeleteShadowRejected(DeleteShadowSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<ErrorResponse> handler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicpublic CompletableFuture<Integer> SubscribeToGetShadowRejected(GetShadowSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<ErrorResponse> handler, Consumer<Exception> exceptionHandler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicexceptionHandler - callback function to invoke if an exception occurred deserializing a messagepublic CompletableFuture<Integer> SubscribeToGetShadowRejected(GetShadowSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<ErrorResponse> handler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicpublic CompletableFuture<Integer> PublishUpdateShadow(UpdateShadowRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos)
request - Message to be serialized and sentqos - Quality of Service for delivering this messagepublic CompletableFuture<Integer> PublishGetShadow(GetShadowRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos)
request - Message to be serialized and sentqos - Quality of Service for delivering this messagepublic CompletableFuture<Integer> SubscribeToUpdateShadowAccepted(UpdateShadowSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<UpdateShadowResponse> handler, Consumer<Exception> exceptionHandler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicexceptionHandler - callback function to invoke if an exception occurred deserializing a messagepublic CompletableFuture<Integer> SubscribeToUpdateShadowAccepted(UpdateShadowSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<UpdateShadowResponse> handler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicpublic CompletableFuture<Integer> SubscribeToUpdateNamedShadowRejected(UpdateNamedShadowSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<ErrorResponse> handler, Consumer<Exception> exceptionHandler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicexceptionHandler - callback function to invoke if an exception occurred deserializing a messagepublic CompletableFuture<Integer> SubscribeToUpdateNamedShadowRejected(UpdateNamedShadowSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<ErrorResponse> handler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicpublic CompletableFuture<Integer> PublishUpdateNamedShadow(UpdateNamedShadowRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos)
request - Message to be serialized and sentqos - Quality of Service for delivering this messagepublic CompletableFuture<Integer> SubscribeToNamedShadowDeltaUpdatedEvents(NamedShadowDeltaUpdatedSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<ShadowDeltaUpdatedEvent> handler, Consumer<Exception> exceptionHandler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicexceptionHandler - callback function to invoke if an exception occurred deserializing a messagepublic CompletableFuture<Integer> SubscribeToNamedShadowDeltaUpdatedEvents(NamedShadowDeltaUpdatedSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<ShadowDeltaUpdatedEvent> handler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicpublic CompletableFuture<Integer> SubscribeToUpdateNamedShadowAccepted(UpdateNamedShadowSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<UpdateShadowResponse> handler, Consumer<Exception> exceptionHandler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicexceptionHandler - callback function to invoke if an exception occurred deserializing a messagepublic CompletableFuture<Integer> SubscribeToUpdateNamedShadowAccepted(UpdateNamedShadowSubscriptionRequest request, software.amazon.awssdk.crt.mqtt.QualityOfService qos, Consumer<UpdateShadowResponse> handler)
request - Subscription request configurationqos - Maximum requested QoS that server may use when sending messages to the client.
The server may grant a lower QoS in the SUBACKhandler - callback function to invoke with messages received on the subscription topicCopyright ? 2021. All rights reserved.