Modifier and Type | Method and Description |
---|---|
void |
AWSIotMqttClient.attach(AWSIotDevice device)
Attach a shadow device to the client.
|
void |
AWSIotMqttClient.connect()
Connect the client to the server.
|
void |
AWSIotMqttClient.connect(long timeout)
Connect the client to the server.
|
void |
AWSIotMqttClient.connect(long timeout,
boolean blocking)
Connect the client to the server.
|
void |
AWSIotDevice.delete()
Deletes the content of a thing shadow.
|
void |
AWSIotDevice.delete(AWSIotMessage message,
long timeout)
Deletes the content of a thing shadow.
|
void |
AWSIotDevice.delete(long timeout)
Deletes the content of a thing shadow.
|
void |
AWSIotMqttClient.detach(AWSIotDevice device)
Detach the given device from the client.
|
void |
AWSIotMqttClient.disconnect()
Disconnect the client from the server.
|
void |
AWSIotMqttClient.disconnect(long timeout)
Disconnect the client from the server.
|
void |
AWSIotMqttClient.disconnect(long timeout,
boolean blocking)
Disconnect the client from the server.
|
String |
AWSIotDevice.get()
Retrieves the latest state stored in the thing shadow.
|
void |
AWSIotDevice.get(AWSIotMessage message,
long timeout)
Retrieves the latest state stored in the thing shadow.
|
String |
AWSIotDevice.get(long timeout)
Retrieves the latest state stored in the thing shadow.
|
void |
AWSIotMqttClient.publish(AWSIotMessage message)
Publishes the payload to a given topic.
|
void |
AWSIotMqttClient.publish(AWSIotMessage message,
long timeout)
Publishes the payload to a given topic.
|
void |
AWSIotMqttClient.publish(String topic,
AWSIotQos qos,
byte[] payload)
Publishes the raw payload to a given topic.
|
void |
AWSIotMqttClient.publish(String topic,
AWSIotQos qos,
byte[] payload,
long timeout)
Publishes the raw payload to a given topic.
|
void |
AWSIotMqttClient.publish(String topic,
AWSIotQos qos,
String payload)
Publishes the payload to a given topic.
|
void |
AWSIotMqttClient.publish(String topic,
AWSIotQos qos,
String payload,
long timeout)
Publishes the payload to a given topic.
|
void |
AWSIotMqttClient.publish(String topic,
byte[] payload)
Publishes the raw payload to a given topic.
|
void |
AWSIotMqttClient.publish(String topic,
byte[] payload,
long timeout)
Publishes the raw payload to a given topic.
|
void |
AWSIotMqttClient.publish(String topic,
String payload)
Publishes the payload to a given topic.
|
void |
AWSIotMqttClient.publish(String topic,
String payload,
long timeout)
Publishes the payload to a given topic.
|
void |
AWSIotMqttClient.subscribe(AWSIotTopic topic)
Subscribes to a given topic.
|
void |
AWSIotMqttClient.subscribe(AWSIotTopic topic,
boolean blocking)
Subscribes to a given topic.
|
void |
AWSIotMqttClient.subscribe(AWSIotTopic topic,
long timeout)
Subscribes to a given topic.
|
void |
AWSIotMqttClient.subscribe(AWSIotTopic topic,
long timeout,
boolean blocking)
Subscribes to a given topic.
|
void |
AWSIotMqttClient.unsubscribe(AWSIotTopic topic)
Unsubscribes to a given topic.
|
void |
AWSIotMqttClient.unsubscribe(AWSIotTopic topic,
long timeout)
Unsubscribes to a given topic.
|
void |
AWSIotMqttClient.unsubscribe(String topic)
Unsubscribes to a given topic.
|
void |
AWSIotMqttClient.unsubscribe(String topic,
long timeout)
Unsubscribes to a given topic.
|
void |
AWSIotDevice.update(AWSIotMessage message,
long timeout)
Updates the content of a thing shadow with the data provided in the
request.
|
void |
AWSIotDevice.update(String jsonState)
Updates the content of a thing shadow with the data provided in the
request.
|
void |
AWSIotDevice.update(String jsonState,
long timeout)
Updates the content of a thing shadow with the data provided in the
request.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractAwsIotClient.attach(AWSIotDevice device) |
protected abstract void |
AwsIotConnection.closeConnection(AwsIotMessageCallback callback)
Abstract method which is called to terminate an underneath connection.
|
void |
AbstractAwsIotClient.connect() |
void |
AwsIotConnection.connect(AwsIotMessageCallback callback)
The actual connect method exposed by this class.
|
void |
AbstractAwsIotClient.connect(long timeout) |
void |
AbstractAwsIotClient.connect(long timeout,
boolean blocking) |
void |
AbstractAwsIotClient.detach(AWSIotDevice device) |
void |
AbstractAwsIotClient.disconnect() |
void |
AwsIotConnection.disconnect(AwsIotMessageCallback callback)
The actual disconnect method exposed by this class.
|
void |
AbstractAwsIotClient.disconnect(long timeout) |
void |
AbstractAwsIotClient.disconnect(long timeout,
boolean blocking) |
void |
AwsIotCompletion.get(AbstractAwsIotClient client)
The user of the completion object is expected to call this function to
either block until the request is completed or timed out in the case of
synchronous calls, or to schedule a timeout handler in the case of
asynchronous calls.
|
protected abstract void |
AwsIotConnection.openConnection(AwsIotMessageCallback callback)
Abstract method which is called to establish an underneath connection.
|
void |
AwsIotConnection.publish(AWSIotMessage message)
The actual publish method exposed by this class.
|
void |
AbstractAwsIotClient.publish(AWSIotMessage message) |
void |
AbstractAwsIotClient.publish(AWSIotMessage message,
long timeout) |
void |
AbstractAwsIotClient.publish(String topic,
AWSIotQos qos,
byte[] payload) |
void |
AbstractAwsIotClient.publish(String topic,
AWSIotQos qos,
byte[] payload,
long timeout) |
void |
AbstractAwsIotClient.publish(String topic,
AWSIotQos qos,
String payload) |
void |
AbstractAwsIotClient.publish(String topic,
AWSIotQos qos,
String payload,
long timeout) |
void |
AbstractAwsIotClient.publish(String topic,
byte[] payload) |
void |
AbstractAwsIotClient.publish(String topic,
byte[] payload,
long timeout) |
void |
AbstractAwsIotClient.publish(String topic,
String payload) |
void |
AbstractAwsIotClient.publish(String topic,
String payload,
long timeout) |
protected abstract void |
AwsIotConnection.publishMessage(AWSIotMessage message)
Abstract method which is called to publish a message.
|
void |
AwsIotConnection.subscribe(AWSIotMessage message)
The actual subscribe method exposed by this class.
|
void |
AbstractAwsIotClient.subscribe(AWSIotTopic topic) |
void |
AbstractAwsIotClient.subscribe(AWSIotTopic topic,
boolean blocking) |
void |
AbstractAwsIotClient.subscribe(AWSIotTopic topic,
long timeout) |
void |
AbstractAwsIotClient.subscribe(AWSIotTopic topic,
long timeout,
boolean blocking) |
protected abstract void |
AwsIotConnection.subscribeTopic(AWSIotMessage message)
Abstract method which is called to subscribe to a topic.
|
void |
AwsIotConnection.unsubscribe(AWSIotMessage message)
The actual unsubscribe method exposed by this class.
|
void |
AbstractAwsIotClient.unsubscribe(AWSIotTopic topic) |
void |
AbstractAwsIotClient.unsubscribe(AWSIotTopic topic,
long timeout) |
void |
AbstractAwsIotClient.unsubscribe(String topic) |
void |
AbstractAwsIotClient.unsubscribe(String topic,
long timeout) |
protected abstract void |
AwsIotConnection.unsubscribeTopic(AWSIotMessage message)
Abstract method which is called to unsubscribe to a topic.
|
Constructor and Description |
---|
AwsIotTlsConnection(AbstractAwsIotClient client,
KeyStore keyStore,
String keyPassword) |
AwsIotTlsConnection(AbstractAwsIotClient client,
SSLSocketFactory socketFactory) |
AwsIotWebsocketConnection(AbstractAwsIotClient client,
String awsAccessKeyId,
String awsSecretAccessKey) |
AwsIotWebsocketConnection(AbstractAwsIotClient client,
String awsAccessKeyId,
String awsSecretAccessKey,
String sessionToken) |
AwsIotWebsocketConnection(AbstractAwsIotClient client,
String awsAccessKeyId,
String awsSecretAccessKey,
String sessionToken,
String region) |
Modifier and Type | Method and Description |
---|---|
void |
AwsIotMqttConnection.closeConnection(AwsIotMessageCallback callback) |
void |
AwsIotMqttConnection.openConnection(AwsIotMessageCallback callback) |
void |
AwsIotMqttConnection.publishMessage(AWSIotMessage message) |
void |
AwsIotMqttConnection.subscribeTopic(AWSIotMessage message) |
void |
AwsIotMqttConnection.unsubscribeTopic(AWSIotMessage message) |
Constructor and Description |
---|
AwsIotMqttConnection(AbstractAwsIotClient client,
SocketFactory socketFactory,
String serverUri) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractAwsIotDevice.activate() |
void |
AbstractAwsIotDevice.deactivate() |
protected void |
AbstractAwsIotDevice.delete() |
protected void |
AbstractAwsIotDevice.delete(AWSIotMessage message,
long timeout) |
protected void |
AbstractAwsIotDevice.delete(long timeout) |
protected String |
AbstractAwsIotDevice.get() |
String |
AwsIotDeviceCommand.get(AbstractAwsIotDevice device) |
protected void |
AbstractAwsIotDevice.get(AWSIotMessage message,
long timeout) |
protected String |
AbstractAwsIotDevice.get(long timeout) |
void |
AwsIotDeviceCommand.put(AbstractAwsIotDevice device) |
String |
AwsIotDeviceCommandManager.runCommand(AwsIotDeviceCommandManager.Command command,
AWSIotMessage request,
long commandTimeout) |
String |
AwsIotDeviceCommandManager.runCommand(AwsIotDeviceCommandManager.Command command,
AWSIotMessage request,
long commandTimeout,
boolean isAsync) |
String |
AwsIotDeviceCommandManager.runCommandSync(AwsIotDeviceCommandManager.Command command,
AWSIotMessage request) |
String |
AwsIotDeviceCommandManager.runCommandSync(AwsIotDeviceCommandManager.Command command,
AWSIotMessage request,
long commandTimeout) |
protected void |
AbstractAwsIotDevice.update(AWSIotMessage message,
long timeout) |
protected void |
AbstractAwsIotDevice.update(String jsonState) |
protected void |
AbstractAwsIotDevice.update(String jsonState,
long timeout) |
Modifier and Type | Method and Description |
---|---|
String |
AwsIotWebSocketUrlSigner.getSignedUrl(Date signingDate)
Given the signing date return a signed connection URL to be used when
connecting via WebSocket to AWS IoT.
|
Constructor and Description |
---|
AwsIotTlsSocketFactory(KeyStore keyStore,
String keyPassword) |
Copyright © 2020. All rights reserved.