Class AbstractAWSIotDataAsync
- All Implemented Interfaces:
AWSIotData, AWSIotDataAsync
AWSIotDataAsync. Convenient method forms
pass through to the corresponding overload that takes a request object and an
AsyncHandler, which throws an UnsupportedOperationException.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeletes the thing shadow for the specified thing.deleteThingShadowAsync(DeleteThingShadowRequest request, AsyncHandler<DeleteThingShadowRequest, DeleteThingShadowResult> asyncHandler) Deletes the thing shadow for the specified thing.getThingShadowAsync(GetThingShadowRequest request) Gets the thing shadow for the specified thing.getThingShadowAsync(GetThingShadowRequest request, AsyncHandler<GetThingShadowRequest, GetThingShadowResult> asyncHandler) Gets the thing shadow for the specified thing.publishAsync(PublishRequest request) Publishes state information.publishAsync(PublishRequest request, AsyncHandler<PublishRequest, PublishResult> asyncHandler) Publishes state information.Updates the thing shadow for the specified thing.updateThingShadowAsync(UpdateThingShadowRequest request, AsyncHandler<UpdateThingShadowRequest, UpdateThingShadowResult> asyncHandler) Updates the thing shadow for the specified thing.Methods inherited from class AbstractAWSIotData
deleteThingShadow, getCachedResponseMetadata, getThingShadow, publish, setEndpoint, setRegion, shutdown, updateThingShadowMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AWSIotData
deleteThingShadow, getCachedResponseMetadata, getThingShadow, publish, setEndpoint, setRegion, shutdown, updateThingShadow
-
Constructor Details
-
AbstractAWSIotDataAsync
protected AbstractAWSIotDataAsync()
-
-
Method Details
-
deleteThingShadowAsync
Description copied from interface:AWSIotDataAsyncDeletes the thing shadow for the specified thing.
For more information, see DeleteThingShadow in the AWS IoT Developer Guide.
- Specified by:
deleteThingShadowAsyncin interfaceAWSIotDataAsync- Parameters:
request- The input for the DeleteThingShadow operation.- Returns:
- A Java Future containing the result of the DeleteThingShadow operation returned by the service.
-
deleteThingShadowAsync
public Future<DeleteThingShadowResult> deleteThingShadowAsync(DeleteThingShadowRequest request, AsyncHandler<DeleteThingShadowRequest, DeleteThingShadowResult> asyncHandler) Description copied from interface:AWSIotDataAsyncDeletes the thing shadow for the specified thing.
For more information, see DeleteThingShadow in the AWS IoT Developer Guide.
- Specified by:
deleteThingShadowAsyncin interfaceAWSIotDataAsync- Parameters:
request- The input for the DeleteThingShadow operation.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteThingShadow operation returned by the service.
-
getThingShadowAsync
Description copied from interface:AWSIotDataAsyncGets the thing shadow for the specified thing.
For more information, see GetThingShadow in the AWS IoT Developer Guide.
- Specified by:
getThingShadowAsyncin interfaceAWSIotDataAsync- Parameters:
request- The input for the GetThingShadow operation.- Returns:
- A Java Future containing the result of the GetThingShadow operation returned by the service.
-
getThingShadowAsync
public Future<GetThingShadowResult> getThingShadowAsync(GetThingShadowRequest request, AsyncHandler<GetThingShadowRequest, GetThingShadowResult> asyncHandler) Description copied from interface:AWSIotDataAsyncGets the thing shadow for the specified thing.
For more information, see GetThingShadow in the AWS IoT Developer Guide.
- Specified by:
getThingShadowAsyncin interfaceAWSIotDataAsync- Parameters:
request- The input for the GetThingShadow operation.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetThingShadow operation returned by the service.
-
publishAsync
Description copied from interface:AWSIotDataAsyncPublishes state information.
For more information, see HTTP Protocol in the AWS IoT Developer Guide.
- Specified by:
publishAsyncin interfaceAWSIotDataAsync- Parameters:
request- The input for the Publish operation.- Returns:
- A Java Future containing the result of the Publish operation returned by the service.
-
publishAsync
public Future<PublishResult> publishAsync(PublishRequest request, AsyncHandler<PublishRequest, PublishResult> asyncHandler) Description copied from interface:AWSIotDataAsyncPublishes state information.
For more information, see HTTP Protocol in the AWS IoT Developer Guide.
- Specified by:
publishAsyncin interfaceAWSIotDataAsync- Parameters:
request- The input for the Publish operation.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the Publish operation returned by the service.
-
updateThingShadowAsync
Description copied from interface:AWSIotDataAsyncUpdates the thing shadow for the specified thing.
For more information, see UpdateThingShadow in the AWS IoT Developer Guide.
- Specified by:
updateThingShadowAsyncin interfaceAWSIotDataAsync- Parameters:
request- The input for the UpdateThingShadow operation.- Returns:
- A Java Future containing the result of the UpdateThingShadow operation returned by the service.
-
updateThingShadowAsync
public Future<UpdateThingShadowResult> updateThingShadowAsync(UpdateThingShadowRequest request, AsyncHandler<UpdateThingShadowRequest, UpdateThingShadowResult> asyncHandler) Description copied from interface:AWSIotDataAsyncUpdates the thing shadow for the specified thing.
For more information, see UpdateThingShadow in the AWS IoT Developer Guide.
- Specified by:
updateThingShadowAsyncin interfaceAWSIotDataAsync- Parameters:
request- The input for the UpdateThingShadow operation.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the UpdateThingShadow operation returned by the service.
-