com.microsoft.azure.sdk.iot.device.transport

定义

A transport for sending and receiving IoT Hub messages, along with supporting functionality.

ExponentialBackoffWithJitter

Represents a retry policy that performs exponential backoff with jitter retries.

HttpProxySocketFactory
IotHubReceiveTask

Polls an IoT Hub for messages and invokes a callback if one is found. Meant to be used with an executor that continuously calls run().

IotHubSendTask

Sends batched messages and invokes callbacks on completed requests. Meant to be used with an executor that continuously calls run().

IotHubTransport

Manages queueing of message sending, receiving and callbacks. Manages notifying users of connection status change updates

IotHubTransportMessage

Extends Message, adding transport artifacts.

IotHubTransportPacket

A packet containing the data needed for an IoT Hub transport to send a message.

NoRetry

Represents a retry policy that performs no retries.

ProxiedSSLSocket

Extension of an SSLSocket that sends an HTTP CONNECT packet to the proxy socket before sending the SSL handshake upstream.

ReconnectionNotifier
RetryDecision

Represents the retry details

TransportUtils
IotHubTransport.MessageRetryRunnable

Task for adding a packet back to the waiting queue. Used for delaying message retry

接口

IotHubListener

Callback interface for communicating connection and message status updates from individual protocol clients (mqtt, https, amqps) to the Tranpsort layer that handles queueing of messages and connecting/reconnecting/disconnecting

IotHubTransportConnection

Interface of what all a Transport Connection object must do. Serves to decouple the Message Queueing of the Transport layer from the protocol specific details of the Connection layer.

IotHubTransportManager

An interface for an simple and synchronous IoT Hub transport.

RetryPolicy

An interface for the retry policy.

枚举

IotHubConnectionStatus