| 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.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.mqtt |
| Modifier and Type | Method and Description |
|---|---|
void |
DeviceClient.sendEventAsync(Message message,
IotHubEventCallback callback,
Object callbackContext)
Asynchronously sends an event message to the IoT Hub.
|
| Modifier and Type | Field and Description |
|---|---|
protected IotHubEventCallback |
IotHubOutboundPacket.callback |
protected IotHubEventCallback |
IotHubCallbackPacket.callback |
| Modifier and Type | Method and Description |
|---|---|
IotHubEventCallback |
IotHubOutboundPacket.getCallback()
Getter for the callback to be invoked when a response is received.
|
IotHubEventCallback |
IotHubCallbackPacket.getCallback()
Getter for the callback to be invoked for the completed request.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IotHubTransport.addMessage(Message message,
IotHubEventCallback callback,
Object callbackContext)
Adds a message to the transport queue.
|
| Constructor and Description |
|---|
IotHubCallbackPacket(IotHubStatusCode status,
IotHubEventCallback callback,
Object callbackContext)
Constructor.
|
IotHubOutboundPacket(Message message,
IotHubEventCallback callback,
Object callbackContext)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AmqpsTransport.addMessage(Message message,
IotHubEventCallback callback,
Object callbackContext)
Adds a message to the transport queue.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HttpsTransport.addMessage(Message message,
IotHubEventCallback callback,
Object callbackContext)
Adds a message to the transport queue.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MqttTransport.addMessage(Message message,
IotHubEventCallback callback,
Object callbackContext)
Adds a message to the transport queue.
|
Copyright © 2017. All rights reserved.