| 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 |
|---|---|
static IotHubClientProtocol |
IotHubClientProtocol.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IotHubClientProtocol[] |
IotHubClientProtocol.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static ModuleClient |
ModuleClient.createFromEnvironment(UnixDomainSocketChannel unixDomainSocketChannel,
IotHubClientProtocol protocol)
Create a module client instance from your environment variables
|
static ModuleClient |
ModuleClient.createFromEnvironment(UnixDomainSocketChannel unixDomainSocketChannel,
IotHubClientProtocol protocol,
ClientOptions clientOptions)
Create a module client instance from your environment variables
|
| Constructor and Description |
|---|
DeviceClient(java.lang.String connectionString,
IotHubClientProtocol protocol)
Constructor that takes a connection string as an argument.
|
DeviceClient(java.lang.String connectionString,
IotHubClientProtocol protocol,
ClientOptions clientOptions)
Constructor that takes a connection string as an argument.
|
DeviceClient(java.lang.String hostName,
java.lang.String deviceId,
SasTokenProvider sasTokenProvider,
IotHubClientProtocol protocol)
Constructor that allows for the client's SAS token generation to be controlled by the user.
|
DeviceClient(java.lang.String hostName,
java.lang.String deviceId,
SasTokenProvider sasTokenProvider,
IotHubClientProtocol protocol,
ClientOptions clientOptions)
Constructor that allows for the client's SAS token generation to be controlled by the user.
|
DeviceClient(java.lang.String uri,
java.lang.String deviceId,
com.microsoft.azure.sdk.iot.provisioning.security.SecurityProvider securityProvider,
IotHubClientProtocol protocol)
Creates a device client that uses the provided security provider for authentication.
|
DeviceClient(java.lang.String uri,
java.lang.String deviceId,
com.microsoft.azure.sdk.iot.provisioning.security.SecurityProvider securityProvider,
IotHubClientProtocol protocol,
ClientOptions clientOptions)
Creates a device client that uses the provided security provider for authentication.
|
ModuleClient(java.lang.String connectionString,
IotHubClientProtocol protocol)
Constructor for a ModuleClient instance.
|
ModuleClient(java.lang.String connectionString,
IotHubClientProtocol protocol,
ClientOptions clientOptions)
Constructor for a ModuleClient instance.
|
ModuleClient(java.lang.String hostName,
java.lang.String deviceId,
java.lang.String moduleId,
SasTokenProvider sasTokenProvider,
IotHubClientProtocol protocol)
Constructor that allows for the client's SAS token generation to be controlled by the user.
|
ModuleClient(java.lang.String hostName,
java.lang.String deviceId,
java.lang.String moduleId,
SasTokenProvider sasTokenProvider,
IotHubClientProtocol protocol,
ClientOptions clientOptions)
Constructor that allows for the client's SAS token generation to be controlled by the user.
|
MultiplexingClient(java.lang.String hostName,
IotHubClientProtocol protocol)
Instantiate a new MultiplexingClient that will establish a multiplexed connection through a proxy.
|
MultiplexingClient(java.lang.String hostName,
IotHubClientProtocol protocol,
MultiplexingClientOptions options)
Instantiate a new MultiplexingClient that will establish a multiplexed connection through a proxy.
|
| Modifier and Type | Method and Description |
|---|---|
IotHubClientProtocol |
IotHubTransport.getProtocol() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
IotHubTransportMessage.isMessageAckNeeded(IotHubClientProtocol protocol) |
| Constructor and Description |
|---|
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.