BatchMessage Class
- java.
lang. Object - Message
- com.
microsoft. azure. sdk. iot. device. BatchMessage
- 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#sendEventsAsync(List, MessagesSentCallback, Object)
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Message> |
getNestedMessages()
Gets the list of nested messages. |
Inherited Members
Message.DEFAULT_IOTHUB_MESSAGE_CHARSET
Message.getBodyStream()
Message.getBytes()
Message.getConnectionDeviceId()
Message.getConnectionModuleId()
Message.getContentEncoding()
Message.getContentType()
Message.getCorrelatingMessageCallback()
Message.getCorrelatingMessageCallbackContext()
Message.getCorrelationId()
Message.getCreationTimeUTC()
Message.getCreationTimeUTCString()
Message.getDeliveryAcknowledgement()
Message.getInputName()
Message.getIotHubConnectionString()
Message.getMessageId()
Message.getMessageType()
Message.getOutputName()
Message.getProperties()
Message.getProperty(String name)
Message.getTo()
Message.getUserId()
Message.isExpired()
Message.isSecurityMessage()
Message.Message()
Message.Message(byte[] body)
Message.Message(String body)
Message.setAbsoluteExpiryTime(long absoluteTimeout)
Message.setAsSecurityMessage()
Message.setConnectionDeviceId(String connectionDeviceId)
Message.setConnectionModuleId(String connectionModuleId)
Message.setContentEncoding(String contentEncoding)
Message.setContentType(String contentType)
Message.setCorrelatingMessageCallback(CorrelatingMessageCallback correlatingMessageCallback)
Message.setCorrelatingMessageCallbackContext(Object correlatingMessageCallbackContext)
Message.setCorrelationId(String correlationId)
Message.setCreationTimeUTC(Date creationTimeUTC)
Message.setExpiryTime(long timeOut)
Message.setInputName(String inputName)
Message.setIotHubConnectionString(IotHubConnectionString iotHubConnectionString)
Message.setMessageId(String messageId)
Message.setMessageType(MessageType type)
Message.setOutputName(String outputName)
Message.setProperty(String name, String value)
Message.setUserId(String userId)
Message.toString()
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