public final class DataMessage extends Message
| Modifier and Type | Class and Description | 
|---|---|
| static class  | DataMessage.BuilderDataMessage.BuilderextendsMessage.MessageBuilderclass. | 
Message.Direction, Message.MessageBuilder<T extends Message.MessageBuilder<T>>, Message.Priority, Message.Reliability, Message.TypeDIAG_CLIENT_ADDRESS, DIAG_CREATED_TIME| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object o) | 
| java.util.List<DataItem<?>> | getDataItems()Get message payload as  ListofDataItems. | 
| java.lang.String | getFormat()Get the name of the format for data. | 
| Message.Type | getType()Get type message type. | 
| int | hashCode() | 
| org.json.JSONObject | toJson()Export  DataMessagetoJSONObject. | 
| java.lang.String | toString()Exports data from  DataMessagetoStringusing JSON interpretation of the message. | 
createBuilderFromJson, fromJson, fromJson, fromJson, getClientId, getDestination, getDiagnostics, getDiagnosticValue, getDirection, getEventTime, getId, getOrdinal, getPriority, getProperties, getReceivedTime, getReliability, getRemainingRetries, getSender, getSentTime, getSource, prettyPrintJson, prettyPrintJson, prettyPrintJson, prettyPrintJson, setRemainingRetries, toJson, toJsonpublic final java.lang.String getFormat()
null.public final java.util.List<DataItem<?>> getDataItems()
List of DataItems.DataMessage, never null.public Message.Type getType()
public final java.lang.String toString()
DataMessage to String using JSON interpretation of the message.public org.json.JSONObject toJson()
DataMessage to JSONObject.toJson in class MessageDataMessage as
       JSONObject.