BatchMessage Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. device. Message - com.
microsoft. azure. sdk. iot. device. BatchMessage
- com.
- com.
public class BatchMessage
extends Message
Used to construct batch messages to be sent to the IoT Hub com.microsoft.azure.sdk.iot.device.InternalClient#sendEventBatchAsync(List, IotHubEventCallback, Object)
Method Summary
Modifier and Type | Method and Description |
---|---|
java.util.List<Message> |
getNestedMessages()
Gets the list of nested messages. |
Methods inherited from Message
getBodyStream
getBytes
getConnectionDeviceId
getConnectionModuleId
getContentEncoding
getContentType
getCorrelatingMessageCallback
getCorrelatingMessageCallbackContext
getCorrelationId
getCreationTimeUTC
getCreationTimeUTCString
getDeliveryAcknowledgement
getInputName
getIotHubConnectionString
getMessageId
getMessageType
getOutputName
getProperties
getProperty
getTo
getUserId
isExpired
isSecurityMessage
setAbsoluteExpiryTime
setAsSecurityMessage
setConnectionDeviceId
setConnectionModuleId
setContentEncoding
setContentType
setContentTypeFinal
setCorrelatingMessageCallback
setCorrelatingMessageCallbackContext
setCorrelationId
setCreationTimeUTC
setExpiryTime
setInputName
setIotHubConnectionString
setMessageId
setMessageType
setOutputName
setProperty
setUserId
toString
Methods inherited from java.lang.Object
java.lang.Object.clone
java.lang.Object.equals
java.lang.Object.finalize
java.lang.Object.getClass
java.lang.Object.hashCode
java.lang.Object.notify
java.lang.Object.notifyAll
java.lang.Object.wait
java.lang.Object.wait
java.lang.Object.wait
Method Details
getNestedMessages
public List
Gets the list of nested messages.
Returns:
All nested messages.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java