| Package | Description |
|---|---|
| com.microsoft.azure.sdk.iot.device |
The API for a device to communicate with an IoT Hub.
|
| com.microsoft.azure.sdk.iot.device.exceptions | |
| com.microsoft.azure.sdk.iot.device.transport |
A transport for sending and receiving IoT Hub messages, along with supporting
functionality.
|
| com.microsoft.azure.sdk.iot.device.transport.amqps |
AMQPS IoT Hub transport and communication classes.
|
| com.microsoft.azure.sdk.iot.device.transport.https |
HTTPS IoT Hub transport and communication classes.
|
| com.microsoft.azure.sdk.iot.device.transport.https.exceptions | |
| com.microsoft.azure.sdk.iot.device.transport.mqtt | |
| com.microsoft.azure.sdk.iot.device.twin |
| Modifier and Type | Method and Description |
|---|---|
static IotHubStatusCode |
IotHubStatusCode.getIotHubStatusCode(int httpsStatus)
Returns the IoT Hub status code referenced by the HTTPS status code.
|
static IotHubStatusCode |
IotHubStatusCode.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IotHubStatusCode[] |
IotHubStatusCode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static IotHubServiceException |
IotHubStatusCode.getConnectionStatusException(IotHubStatusCode statusCode,
java.lang.String statusDescription) |
static boolean |
IotHubStatusCode.isRetryable(IotHubStatusCode statusCode)
Returns true if this event callback signals that the asynchronous action was unsuccessful, but could be retried.
|
static boolean |
IotHubStatusCode.isSuccessful(IotHubStatusCode statusCode)
Returns true if this event callback signals that the asynchronous action was successful, and false otherwise.
|
static IotHubClientException |
IotHubStatusCode.toException(IotHubStatusCode statusCode) |
| Constructor and Description |
|---|
IotHubClientException(IotHubStatusCode statusCode) |
IotHubClientException(IotHubStatusCode statusCode,
java.lang.Exception nestedException) |
IotHubClientException(IotHubStatusCode statusCode,
java.lang.String errorMessage) |
IotHubClientException(IotHubStatusCode statusCode,
java.lang.String errorMessage,
java.lang.Exception nestedException) |
| Modifier and Type | Method and Description |
|---|---|
IotHubStatusCode |
IotHubTransportPacket.getStatus()
Get the status of this transport packet
|
IotHubStatusCode |
IotHubServiceException.getStatusCode() |
IotHubStatusCode |
IotHubTransportConnection.sendMessage(Message message)
Send a single message to the IotHub over the Transport Connection
|
| Modifier and Type | Method and Description |
|---|---|
void |
IotHubTransportPacket.setStatus(IotHubStatusCode status)
Set the status of this transport packet
|
| Constructor and Description |
|---|
IotHubTransportPacket(Message message,
MessageSentCallback eventCallback,
java.lang.Object callbackContext,
IotHubStatusCode status,
long startTimeMillis,
java.lang.String deviceId)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IotHubStatusCode |
AmqpsIotHubConnection.sendMessage(Message message) |
| Modifier and Type | Method and Description |
|---|---|
IotHubStatusCode |
HttpsIotHubConnection.sendMessage(Message message)
Sends an event message.
|
| Modifier and Type | Method and Description |
|---|---|
IotHubStatusCode |
UnauthorizedException.getStatusCode() |
IotHubStatusCode |
ThrottledException.getStatusCode() |
IotHubStatusCode |
ServerBusyException.getStatusCode() |
IotHubStatusCode |
RequestEntityTooLargeException.getStatusCode() |
IotHubStatusCode |
QuotaExceededException.getStatusCode() |
IotHubStatusCode |
PreconditionFailedException.getStatusCode() |
IotHubStatusCode |
InternalServerErrorException.getStatusCode() |
IotHubStatusCode |
HubOrDeviceIdNotFoundException.getStatusCode() |
IotHubStatusCode |
BadFormatException.getStatusCode() |
| Modifier and Type | Method and Description |
|---|---|
IotHubStatusCode |
MqttIotHubConnection.sendMessage(Message message)
Sends an event message.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ReportedPropertiesCallback.onReportedPropertiesUpdateAcknowledged(IotHubStatusCode statusCode,
ReportedPropertiesUpdateResponse response,
IotHubClientException e,
java.lang.Object context)
The callback that is executed when the reported properties update request has completed.
|
void |
ReportedPropertiesUpdateCorrelatingMessageCallback.onResponseReceived(Message message,
java.lang.Object callbackContext,
IotHubStatusCode statusCode,
ReportedPropertiesUpdateResponse response,
IotHubClientException e)
Called when a response to the sent message has been sent by IoT hub and has been receieved by the transport.
|
void |
GetTwinCorrelatingMessageCallback.onResponseReceived(Twin twin,
Message message,
java.lang.Object callbackContext,
IotHubStatusCode statusCode,
IotHubClientException e)
Called when a response to the sent message has been sent by IoT hub and has been receieved by the transport.
|
Copyright © 2023. All rights reserved.