| 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 |
MultiplexingClient.setConnectionStatusChangeCallback(IotHubConnectionStatusChangeCallback callback,
java.lang.Object callbackContext)
Registers a callback to be executed when the connection status of the multiplexed connection as a whole changes.
|
void |
InternalClient.setConnectionStatusChangeCallback(IotHubConnectionStatusChangeCallback callback,
java.lang.Object callbackContext)
Sets the callback to be executed when the connection status of the device changes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IotHubTransport.setConnectionStatusChangeCallback(IotHubConnectionStatusChangeCallback callback,
java.lang.Object callbackContext,
java.lang.String deviceId)
Registers a callback to be executed whenever the connection status to the IoT Hub has changed.
|
void |
IotHubTransport.setMultiplexingConnectionStateCallback(IotHubConnectionStatusChangeCallback callback,
java.lang.Object callbackContext) |
| Constructor and Description |
|---|
IotHubTransport(ClientConfiguration defaultConfig,
IotHubConnectionStatusChangeCallback deviceIOConnectionStatusChangeCallback,
boolean isMultiplexing)
Constructor for an IotHubTransport object with default values
|
IotHubTransport(java.lang.String hostName,
IotHubClientProtocol protocol,
javax.net.ssl.SSLContext sslContext,
ProxySettings proxySettings,
IotHubConnectionStatusChangeCallback deviceIOConnectionStatusChangeCallback,
int keepAliveInterval,
int sendInterval,
boolean useIdentifiableThreadNames,
java.lang.String threadNamePrefix,
java.lang.String threadNameSuffix) |
Copyright © 2023. All rights reserved.