public interface GetTwinCorrelatingMessageCallback
InternalClient.getTwinAsync(GetTwinCorrelatingMessageCallback, Object)
request.
Users who don't need all this information are advised to use
InternalClient.getTwinAsync(GetTwinCallback, Object)
instead.| Modifier and Type | Method and Description |
|---|---|
void |
onRequestAcknowledged(Message message,
java.lang.Object callbackContext,
IotHubClientException e)
Called when the message request has been sent and IoT hub has acknowledged the request.
|
void |
onRequestQueued(Message message,
java.lang.Object callbackContext)
Called when the message has been queued to the transport.
|
void |
onRequestSent(Message message,
java.lang.Object callbackContext)
Called when the message request has been sent by the transport.
|
void |
onResponseAcknowledged(Message message,
java.lang.Object callbackContext)
Called when a response to the message has been sent by IoT hub and has been acknowledged by the transport.
|
void |
onResponseReceived(Twin twin,
Message message,
java.lang.Object callbackContext,
IotHubStatusCode statusCode,
IotHubClientException e)
Called when a response to the sent message has been sent by IoT hub and has been receieved by the transport.
|
void onRequestQueued(Message message, java.lang.Object callbackContext)
message - The request message queued by the transport.callbackContext - The context sent with the message.void onRequestSent(Message message, java.lang.Object callbackContext)
message - The request message sent by the transport.callbackContext - The context sent with the message.void onRequestAcknowledged(Message message, java.lang.Object callbackContext, IotHubClientException e)
message - The request message sent by the transport.callbackContext - The context sent with the message.e - The error or exception given by the transport. If there are no errors this will be null.void onResponseReceived(Twin twin, Message message, java.lang.Object callbackContext, IotHubStatusCode statusCode, IotHubClientException e)
twin - The retrieved twin from the service. If null, check the status code and exception for details on why
the twin could not be received.message - The response message received by the transport.callbackContext - The context sent with the message.statusCode - The status of the update reported properties call as a whole.e - The error or exception given by the transport. If there are no errors this will be null.void onResponseAcknowledged(Message message, java.lang.Object callbackContext)
message - The response message queued to the transport.callbackContext - The context sent with the message.Copyright © 2023. All rights reserved.