| 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 |
|---|---|
IotHubMessageResult |
MessageCallback.execute(Message message,
Object callbackContext)
Executes the callback.
|
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 Message |
IotHubOutboundPacket.message |
| Modifier and Type | Method and Description |
|---|---|
Message |
IotHubOutboundPacket.getMessage()
Getter for the message to be sent.
|
| 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 |
|---|
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 |
|---|---|
Message |
HttpsIotHubConnection.receiveMessage()
Receives a message, if one exists.
|
Message |
HttpsSingleMessage.toMessage()
Returns the Iot Hub message represented by the HTTPS message.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HttpsTransport.addMessage(Message message,
IotHubEventCallback callback,
Object callbackContext)
Adds a message to the transport queue.
|
static HttpsSingleMessage |
HttpsSingleMessage.parseHttpsMessage(Message message)
Returns the HTTPS message represented by the service-bound message.
|
| Modifier and Type | Method and Description |
|---|---|
Message |
MqttIotHubConnection.receiveMessage()
Receives a message, if one exists.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MqttTransport.addMessage(Message message,
IotHubEventCallback callback,
Object callbackContext)
Adds a message to the transport queue.
|
IotHubStatusCode |
MqttIotHubConnection.sendEvent(Message message)
Sends an event message.
|
Copyright © 2017. All rights reserved.