FeedbackReceiver Class

Definition

FeedbackReceiver is a specialized receiver whose ReceiveAsync method returns a FeedbackBatch instead of a Message.

public class FeedbackReceiver extends Receiver
Inheritance
java.lang.Object
FeedbackReceiver

Inherited Members

java.lang.Object.clone()
java.lang.Object.equals(java.lang.Object)
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.hashCode()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.toString()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Constructors

FeedbackReceiver(String hostName, String userName, String sasToken, IotHubServiceClientProtocol iotHubServiceClientProtocol)

Constructor to verify initialization parameters Create instance of AmqpReceive

FeedbackReceiver(String hostName, String userName, String sasToken, IotHubServiceClientProtocol iotHubServiceClientProtocol, ProxyOptions proxyOptions)

Constructor to verify initialization parameters Create instance of AmqpReceive

FeedbackReceiver(String hostName, String userName, String sasToken, IotHubServiceClientProtocol iotHubServiceClientProtocol, String deviceId)

Constructor to verify initialization parameters Create instance of AmqpReceive

Methods

close()

Close AmqpReceive object

closeAsync()

Async wrapper for close() operation

open()

Open AmqpReceive object

openAsync()

Async wrapper for open() operation

receive()

Receive FeedbackBatch with default timeout

receive(long timeoutMs)

Receive FeedbackBatch with specific timeout

receiveAsync()

Async wrapper for receive() operation with default timeout

receiveAsync(long timeoutMs)

Async wrapper for receive() operation with specific timeout

Applies to