public class ShadowSample extends Object
AWSIotMqttClient and a derived
AWSIotDevice to keep the device connected with its shadow in the
cloud. This is the recommended way of accessing a shadow and keeping it
synchronized with the device. The only thing the application needs to provide
in the derived class is the annotated device properties and their
corresponding getter and setter methods.| Constructor and Description |
|---|
ShadowSample() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
static void |
setClient(AWSIotMqttClient client) |
public static void setClient(AWSIotMqttClient client)
public static void main(String[] args) throws InterruptedException, AWSIotException
InterruptedExceptionAWSIotExceptionCopyright © 2019. All rights reserved.