| 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.transport |
A transport for sending and receiving IoT Hub messages, along with supporting
functionality.
|
| com.microsoft.azure.sdk.iot.device.transport.https |
HTTPS IoT Hub transport and communication classes.
|
| com.microsoft.azure.sdk.iot.device.transport.mqtt |
| 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(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 |
|---|---|
void |
IotHubEventCallback.execute(IotHubStatusCode responseStatus,
Object callbackContext)
Executes the callback.
|
| Modifier and Type | Field and Description |
|---|---|
protected IotHubStatusCode |
IotHubCallbackPacket.status |
| Modifier and Type | Method and Description |
|---|---|
IotHubStatusCode |
IotHubCallbackPacket.getStatus()
Getter for the response status code.
|
| Constructor and Description |
|---|
IotHubCallbackPacket(IotHubStatusCode status,
IotHubEventCallback callback,
Object callbackContext)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IotHubStatusCode |
HttpsIotHubConnection.sendEvent(HttpsMessage msg)
Sends an event message.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
HttpsTransport.moveInProgressListToCallbackList(IotHubStatusCode status)
Moves messages from the in progress list to the callback list, updating
the message packets with the status code from the response.
|
| Modifier and Type | Method and Description |
|---|---|
IotHubStatusCode |
MqttIotHubConnection.sendEvent(Message message)
Sends an event message.
|
Copyright © 2017. All rights reserved.