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

定义

AMQPS IoT Hub transport and communication classes.

AmqpsCbsReceiverLinkHandler

Every SAS token based authentication over AMQP requires a CBS session with a sender and receiver link. This class defines the receiver link which receives authentication status codes corresponding to each authentication attempt.

AmqpsCbsSenderLinkHandler

Every SAS token based authentication over AMQP requires a CBS session with a sender and receiver link. This class defines the sender link which proactively sends renewed sas tokens to keep the device sessions authenticated.

AmqpsCbsSessionHandler

This class defines the special CBS ("Claims-Based-Security") session that owns a CBS sender and receiver link. This session is responsible for sending authentication messages on behalf of all device sessions in this connection. Even when multiplexing, there is only one CBS session. When connecting as a single device, and using x509 based authentication, this session should not be created.

AmqpsExceptionTranslator

Converter for amqp style error codes to throwable transport exceptions

AmqpsIotHubConnection

An AMQPS IotHub connection between a device and an IoTHub or Edgehub. This class is responsible for reacting to connection level and reactor level events. It is also responsible for creating sessions and handlers for those sessions. An instance of this object may be reused after it has been closed.

AmqpsMethodsReceiverLinkHandler
AmqpsMethodsSenderLinkHandler
AmqpsReceiverLinkHandler
AmqpsSasTokenRenewalHandler

This class is responsible for proactively renewing sas tokens for a single device. When multiplexing, there will be one instance of this class per device. It will periodically execute the onTimerTask logic to send a renewed sas token, and then will schedule the next timer task appropriately.

AmqpsSenderLinkHandler
AmqpsSendResult
AmqpsSessionHandler
AmqpsTelemetryReceiverLinkHandler
IotHubReactor

接口

AmqpsLinkStateCallback

Status callbacks to be executed to notify the session level when something happened to one of its links. Should only be implemented by session handler objects.

枚举

IoTHubConnectionType

Type of the connection