CorrelatingMessageCallback.onResponseAcknowledged(Message message, Object callbackContext, Throwable e) 方法
定义
Called when a response to the message has been sent by IoT hub and has been acknowledged by the transport.
public void onResponseAcknowledged(Message message, Object callbackContext, Throwable e)
参数
- message
- Message
The response message queued to the transport.
- callbackContext
- Object
The context sent with the message.
- e
- Throwable
The error or exception given by the transport. If there are no errors this will benull
</code> if there are errors this will more often be a <xref uid="com.microsoft.azure.sdk.iot.device.exceptions.TransportException" data-throw-if-not-resolved="false" data-raw-source="com.microsoft.azure.sdk.iot.device.exceptions.TransportException"></xref>. </p>