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

Classes

AmqpsMessage

Extension of the QPID-Proton-J MessageImpl class which implements the Message interface. Adds a Delivery object as a private member variable and adds a new ACK_TYPE enum. Adds the ability to easily acknowledge a single message.

CloudToDeviceMessageConnectionHandler

Instance of the QPID-Proton-J BaseHandler class to override the events what are needed to handle the receive operation Contains and sets connection parameters (path, port, endpoint) Maintains the layers of AMQP protocol (Link, Session, Connection, Transport) Creates and sets SASL authentication for transport

CloudToDeviceMessageSenderLinkHandler

Instance of the QPID-Proton-J BaseHandler class to override the events what are needed to handle the send operation Contains and sets connection parameters (path, port, endpoint) Maintains the layers of AMQP protocol (Link, Session, Connection, Transport) Creates and sets SASL authentication for transport

ErrorLoggingBaseHandler
ErrorLoggingBaseHandlerWithCleanup

Base Handler that logs connection/session/link opening. It also has logic to tear down the connection/session/link and stop the reactor if the connection, session, and/or link is closed remotely. This base handler assumes a single link in a single session in a single connection.

EventReceivingConnectionHandler

Instance of the QPID-Proton-J BaseHandler class to override the events what are needed to handle the receive operation Contains and sets connection parameters (path, port, endpoint) Maintains the layers of AMQP protocol (Link, Session, Connection, Transport) Creates and sets SASL authentication for transport

FileUploadNotificationReceiverLinkHandler
LoggingFlowController

Copy of org.apache.qpid.proton.reactor.FlowController but with some small edits for logging purposes.

Use this FlowController to automatically flow link credit back to the service from this client's receiver links after each delivery on the receiver link.

MessageFeedbackReceiverLinkHandler
ProtonJExceptionParser
ReactorRunner