public final class ResourceMessage extends Message
| Modifier and Type | Class and Description | 
|---|---|
| static class  | ResourceMessage.BuilderBuilder extends  MessageBuilderclass. | 
| static class  | ResourceMessage.ReportResponse | 
| static class  | ResourceMessage.TypeEnumeration for choosing type of the resource directory message. | 
Message.Direction, Message.MessageBuilder<T extends Message.MessageBuilder<T>>, Message.Priority, Message.ReliabilityDIAG_CLIENT_ADDRESS, DIAG_CREATED_TIME| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object o) | 
| java.lang.String | getEndpointName()Returns endpoint id for the message | 
| static java.lang.String | getMD5ofList(java.util.List<java.lang.String> resStrings)Calculates the MD5 hash value for a list of Strings. | 
| ResourceMessage.Type | getMessageType()Returns type of the message (Could be UPDATE or DELETE) | 
| java.lang.String | getReconciliationMark() | 
| java.util.List<Resource> | getResources()Returns List of resources described in the message. | 
| Message.Type | getType()Abstract method to return message type. | 
| int | hashCode() | 
| org.json.JSONObject | toJson()Method to export the Resource Directory message to  JSONObject. | 
| java.lang.String | toString()Exports data from  ResourceMessagetoStringusing 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 static java.lang.String getMD5ofList(java.util.List<java.lang.String> resStrings)
resStrings - List os Stringspublic java.lang.String toString()
ResourceMessage to String using JSON interpretation of the message.public org.json.JSONObject toJson()
JSONObject.toJson in class MessageResourceMessagepublic Message.Type getType()
Messagepublic java.util.List<Resource> getResources()
nullpublic ResourceMessage.Type getMessageType()
public java.lang.String getReconciliationMark()
public java.lang.String getEndpointName()