Modifier and Type | Method and Description |
---|---|
void |
AwsIotClient.close()
Close this client.
|
void |
AwsIotClient.connect()
Connect to AWS IoT service using the client options.
|
void |
AwsIotClient.deleteShadow()
Delete the classic shadow of thing with QOS 0.
|
void |
AwsIotClient.deleteShadow(int qos)
Delete the classic shadow of thing.
|
void |
AwsIotClient.deleteShadow(java.lang.String shadowName)
Delete the named shadow of thing with QOS 0.
|
void |
AwsIotClient.deleteShadow(java.lang.String shadowName,
int qos)
Delete the named shadow of thing.
|
void |
AwsIotClient.disconnect()
Disconnect this client from the underlying communication layer.
|
void |
AwsIotClient.getShadow()
Gets shadow with default QOS 0.
|
void |
AwsIotClient.getShadow(int qos)
Gets shadow.
|
void |
AwsIotClient.getShadow(java.lang.String shadowName)
Gets the named shadow with default QOS 0.
|
void |
AwsIotClient.getShadow(java.lang.String shadowName,
int qos)
Gets the named shadow.
|
void |
AwsIotClient.publish(AwsIotMessage message)
Publish a message to AWS IoT MQTT broker.
|
void |
AwsIotClient.publish(java.lang.String topic,
byte[] data)
Publishes a message on a topic with default QOS 0
|
void |
AwsIotClient.publish(java.lang.String topic,
byte[] data,
int qos)
Publishes a message on a topic.
|
void |
AwsIotClient.publish(java.lang.String topic,
byte[] data,
int qos,
boolean retained)
Publishes a message on a topic.
|
void |
AwsIotClient.subscribe(java.lang.String topic,
AwsIotMessageCallback subscriber)
Adds a topic listener on a topic.
|
void |
AwsIotClient.subscribe(java.lang.String topic,
AwsIotMessageCallback subscriber,
int qos)
Adds a topic listener on a topic.
|
void |
AwsIotClient.subscribeToShadow(ShadowAction action,
ShadowResult result,
AwsIotMessageCallback callback)
Subscribe to a shadow action (GET, UPDATE, DELETE) result ACCEPTED, REJECTED and (DELTA, DOCUMENT for update
only).
|
void |
AwsIotClient.subscribeToShadow(ShadowAction action,
ShadowResult result,
AwsIotMessageCallback callback,
int qos)
Subscribe to a shadow action (GET, UPDATE, DELETE) result ACCEPTED, REJECTED and (DELTA, DOCUMENT for update
only).
|
void |
AwsIotClient.subscribeToShadow(java.lang.String shadowName,
ShadowAction action,
ShadowResult result,
AwsIotMessageCallback callback)
Subscribe to a shadow action (GET, UPDATE, DELETE) result ACCEPTED, REJECTED and (DELTA, DOCUMENT for update
only).
|
void |
AwsIotClient.subscribeToShadow(java.lang.String shadowName,
ShadowAction action,
ShadowResult result,
AwsIotMessageCallback callback,
int qos)
Subscribe to a shadow action (GET, UPDATE, DELETE) result ACCEPTED, REJECTED and (DELTA, DOCUMENT for update
only).
|
void |
AwsIotClient.unsubscribe(java.lang.String topic)
Unsubscribe from a topic.
|
void |
AwsIotClient.unsubscribeFromShadow(ShadowAction action,
ShadowResult result)
Unsubscribe from a shadow action.
|
void |
AwsIotClient.unsubscribeFromShadow(java.lang.String shadowName,
ShadowAction action,
ShadowResult result)
Unsubscribe from a shadow action.
|
void |
AwsIotClient.updateShadow(byte[] message)
Creates a no-named shadow if it doesn't exist, or updates the contents of an existing shadow with the state
information provided in the message body.
|
void |
AwsIotClient.updateShadow(byte[] message,
int qos)
Creates a no-named shadow if it doesn't exist, or updates the contents of an existing shadow with the state
information provided in the message body.
|
void |
AwsIotClient.updateShadow(java.lang.String shadowName,
byte[] message)
Creates a shadow if it doesn't exist, or updates the contents of an existing shadow with the state information
provided in the message body.
|
void |
AwsIotClient.updateShadow(java.lang.String shadowName,
byte[] message,
int qos)
updateShadow : Creates a shadow if it doesn't exist, or updates the contents of an existing shadow with the state
information provided in the message body.
|