| Package | Description |
|---|---|
| com.microsoft.azure.sdk.iot.service | |
| com.microsoft.azure.sdk.iot.service.transport.amqps |
| Modifier and Type | Method and Description |
|---|---|
void |
ServiceClient.send(String deviceId,
Message message)
Send a one-way message to the specified device.
|
void |
ServiceClient.send(String deviceId,
String moduleId,
Message message)
Send a one-way message to the specified module.
|
CompletableFuture<Void> |
ServiceClient.sendAsync(String deviceId,
Message message)
Deprecated.
Use the synchronous version of this API
ServiceClient.send(String, Message). This asynchronous
API only spawned a thread to run the synchronous API, so users are advised to do this themselves
in order to have control over the spawned threads. |
| Modifier and Type | Method and Description |
|---|---|
void |
AmqpSendHandler.createProtonMessage(String deviceId,
Message message)
Create Proton message from deviceId and content string
|
void |
AmqpSendHandler.createProtonMessage(String deviceId,
String moduleId,
Message message)
Create Proton message from deviceId and content string
|
void |
AmqpSend.send(String deviceId,
String moduleId,
Message message)
Create binary message
Initialize and start Proton reactor
Send the created message
|
Copyright © 2022. All rights reserved.