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 | |
com.microsoft.azure.sdk.iot.device.twin |
Modifier and Type | Class and Description |
---|---|
class |
BatchMessage
Used to construct batch messages to be sent to the IoT Hub
InternalClient.sendEventsAsync(List, MessagesSentCallback, Object) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Message> |
BatchMessage.getNestedMessages()
Gets the list of nested messages.
|
Modifier and Type | Method and Description |
---|---|
IotHubMessageResult |
MessageCallback.onCloudToDeviceMessageReceived(Message message,
java.lang.Object callbackContext)
Executes the callback.
|
void |
MessageSentCallback.onMessageSent(Message sentMessage,
IotHubClientException clientException,
java.lang.Object callbackContext)
The callback that is executed once the message associated with this callback has been acknowledged by the service.
|
void |
CorrelatingMessageCallback.onRequestAcknowledged(Message message,
java.lang.Object callbackContext,
IotHubClientException e)
Called when the message request has been sent and IoT hub has acknowledged the request.
|
void |
CorrelatingMessageCallback.onRequestQueued(Message message,
java.lang.Object callbackContext)
Called when the message has been queued to the transport.
|
void |
CorrelatingMessageCallback.onRequestSent(Message message,
java.lang.Object callbackContext)
Called when the message request has been sent by the transport.
|
void |
CorrelatingMessageCallback.onResponseAcknowledged(Message message,
java.lang.Object callbackContext)
Called when a response to the message has been sent by IoT hub and has been acknowledged by the transport.
|
void |
CorrelatingMessageCallback.onResponseReceived(Message message,
java.lang.Object callbackContext,
IotHubClientException e)
Called when a response to the sent message has been sent by IoT hub and has been receieved by the transport.
|
void |
ModuleClient.sendEvent(Message message) |
void |
InternalClient.sendEvent(Message message)
Synchronously sends a message to IoT hub.
|
void |
InternalClient.sendEvent(Message message,
int timeoutMilliseconds)
Synchronously sends a message to IoT hub.
|
void |
ModuleClient.sendEvent(Message message,
java.lang.String outputName)
Synchronously sends a message to to a particular outputName.
|
void |
ModuleClient.sendEvent(Message message,
java.lang.String outputName,
int timeoutMilliseconds)
Synchronously sends a message to to a particular outputName.
|
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 |
---|---|
void |
MessagesSentCallback.onMessagesSent(java.util.List<Message> sentMessages,
IotHubClientException clientException,
java.lang.Object callbackContext)
The callback that is executed once the messages associated with this callback has been acknowledged by the service.
|
void |
InternalClient.sendEvents(java.util.List<Message> messages)
Synchronously sends a batch of messages to IoT hub
This operation is only supported over HTTPS.
|
void |
InternalClient.sendEvents(java.util.List<Message> messages,
int timeoutMilliseconds)
Synchronously sends a batch of messages to IoT hub
This operation is only supported over HTTPS.
|
void |
InternalClient.sendEventsAsync(java.util.List<Message> messages,
MessagesSentCallback callback,
java.lang.Object callbackContext)
Asynchronously sends a batch of messages to the IoT hub
This operation is only supported over HTTPS.
|
Modifier and Type | Class and Description |
---|---|
class |
IotHubTransportMessage
Extends Message, adding transport artifacts.
|
Modifier and Type | Method and Description |
---|---|
Message |
IotHubTransportPacket.getMessage()
Getter for the message to be sent.
|
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.
|
void |
IotHubTransport.onMessageSent(Message message,
java.lang.String deviceId,
TransportException e) |
void |
IotHubListener.onMessageSent(Message message,
java.lang.String deviceId,
TransportException e)
Callback to be fired when a message that the transport client sent has been acknowledged by Iot Hub
|
IotHubStatusCode |
IotHubTransportConnection.sendMessage(Message message)
Send a single message to the IotHub over the Transport Connection
|
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 |
---|---|
void |
AmqpsIotHubConnection.onMessageAcknowledged(Message message,
org.apache.qpid.proton.amqp.transport.DeliveryState deliveryState,
java.lang.String deviceId) |
IotHubStatusCode |
AmqpsIotHubConnection.sendMessage(Message message) |
Modifier and Type | Method and Description |
---|---|
Message |
HttpsTransportManager.receive()
Pull the IotHub looking for new message.
|
Modifier and Type | Method and Description |
---|---|
IotHubStatusCode |
HttpsIotHubConnection.sendMessage(Message message)
Sends an event message.
|
Modifier and Type | Method and Description |
---|---|
IotHubStatusCode |
MqttIotHubConnection.sendMessage(Message message)
Sends an event message.
|
Modifier and Type | Method and Description |
---|---|
IotHubMessageResult |
DeviceTwin.onCloudToDeviceMessageReceived(Message message,
java.lang.Object callbackContext) |
void |
ReportedPropertiesUpdateCorrelatingMessageCallback.onRequestAcknowledged(Message message,
java.lang.Object callbackContext,
IotHubClientException e)
Called when the message request has been sent and IoT hub has acknowledged the request.
|
void |
GetTwinCorrelatingMessageCallback.onRequestAcknowledged(Message message,
java.lang.Object callbackContext,
IotHubClientException e)
Called when the message request has been sent and IoT hub has acknowledged the request.
|
void |
ReportedPropertiesUpdateCorrelatingMessageCallback.onRequestQueued(Message message,
java.lang.Object callbackContext)
Called when the message has been queued to the transport.
|
void |
GetTwinCorrelatingMessageCallback.onRequestQueued(Message message,
java.lang.Object callbackContext)
Called when the message has been queued to the transport.
|
void |
ReportedPropertiesUpdateCorrelatingMessageCallback.onRequestSent(Message message,
java.lang.Object callbackContext)
Called when the message request has been sent by the transport.
|
void |
GetTwinCorrelatingMessageCallback.onRequestSent(Message message,
java.lang.Object callbackContext)
Called when the message request has been sent by the transport.
|
void |
ReportedPropertiesUpdateCorrelatingMessageCallback.onResponseAcknowledged(Message message,
java.lang.Object callbackContext)
Called when a response to the message has been sent by IoT hub and has been acknowledged by the transport.
|
void |
GetTwinCorrelatingMessageCallback.onResponseAcknowledged(Message message,
java.lang.Object callbackContext)
Called when a response to the message has been sent by IoT hub and has been acknowledged by the transport.
|
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.