public AmqpFeedbackReceiver(IotHubConnection iotHubConnection) { Connection = iotHubConnection; OpenTimeout = IotHubConnection.DefaultOpenTimeout; OperationTimeout = IotHubConnection.DefaultOperationTimeout; _receivingPath = AmqpClientHelper.GetReceivingPath(EndpointKind.Feedback); _faultTolerantReceivingLink = new FaultTolerantAmqpObject <ReceivingAmqpLink>(CreateReceivingLinkAsync, Connection.CloseLink); }
public AmqpFileNotificationReceiver(IotHubConnection iotHubConnection) { this.Connection = iotHubConnection; this.OpenTimeout = IotHubConnection.DefaultOpenTimeout; this.OperationTimeout = IotHubConnection.DefaultOperationTimeout; this.receivingPath = AmqpClientHelper.GetReceivingPath(EndpointKind.FileNotification); this.faultTolerantReceivingLink = new FaultTolerantAmqpObject <ReceivingAmqpLink>(this.CreateReceivingLinkAsync, this.Connection.CloseLink); }