microsoft. azure. sdk. iot. device. transport. amqps
AMQPS IoT Hub transport and communication classes.
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.
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.
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.
Converter for amqp style error codes to throwable transport exceptions
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.
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.
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.
Type of the connection