Class AwsIotDeviceSyncMessage
- java.lang.Object
-
- com.amazonaws.services.iot.client.AWSIotMessage
-
- com.amazonaws.services.iot.client.shadow.AwsIotDeviceSyncMessage
-
- All Implemented Interfaces:
AwsIotMessageCallback
public class AwsIotDeviceSyncMessage extends AWSIotMessage
-
-
Field Summary
-
Fields inherited from class com.amazonaws.services.iot.client.AWSIotMessage
errorCode, errorMessage, payload, qos, topic
-
-
Constructor Summary
Constructors Constructor Description AwsIotDeviceSyncMessage(String topic, AWSIotQos qos, AbstractAwsIotDevice device)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonFailure()Callback function to be invoked a non-block API has completed unsuccessfully.voidonSuccess()Callback function to be invoked a non-block API has completed successfully.-
Methods inherited from class com.amazonaws.services.iot.client.AWSIotMessage
getErrorCode, getErrorMessage, getPayload, getQos, getStringPayload, getTopic, onTimeout, setErrorCode, setErrorMessage, setPayload, setQos, setStringPayload, setTopic
-
-
-
-
Constructor Detail
-
AwsIotDeviceSyncMessage
public AwsIotDeviceSyncMessage(String topic, AWSIotQos qos, AbstractAwsIotDevice device)
-
-
Method Detail
-
onSuccess
public void onSuccess()
Description copied from class:AWSIotMessageCallback function to be invoked a non-block API has completed successfully.- Specified by:
onSuccessin interfaceAwsIotMessageCallback- Overrides:
onSuccessin classAWSIotMessage
-
onFailure
public void onFailure()
Description copied from class:AWSIotMessageCallback function to be invoked a non-block API has completed unsuccessfully.- Specified by:
onFailurein interfaceAwsIotMessageCallback- Overrides:
onFailurein classAWSIotMessage
-
-