| 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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ModuleClient.sendEventAsync(Message message,
MessageSentCallback callback,
java.lang.Object callbackContext) |
void |
InternalClient.sendEventAsync(Message message,
MessageSentCallback callback,
java.lang.Object callbackContext)
Asynchronously sends a message to IoT hub.
|
void |
ModuleClient.sendEventAsync(Message message,
MessageSentCallback callback,
java.lang.Object callbackContext,
java.lang.String outputName)
Sends a message to a particular outputName asynchronously
|
| Modifier and Type | Method and Description |
|---|---|
MessageSentCallback |
IotHubTransportPacket.getCallback()
Getter for the callback to be invoked when a response is received.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IotHubTransport.addMessage(Message message,
MessageSentCallback callback,
java.lang.Object callbackContext,
java.lang.String deviceId)
Adds a message to the transport queue.
|
| Constructor and Description |
|---|
IotHubTransportPacket(Message message,
MessageSentCallback eventCallback,
java.lang.Object callbackContext,
IotHubStatusCode status,
long startTimeMillis,
java.lang.String deviceId)
Constructor.
|
Copyright © 2023. All rights reserved.