Class ProxyMessage
java.lang.Object
org.cristalise.kernel.entity.proxy.ProxyMessage
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionProxyMessage(String message) Parses the message string using ':' as separator.ProxyMessage(ItemPath itemPath, String path, ProxyMessage.Type type) -
Method Summary
Modifier and TypeMethodDescriptionConstructs the UUID/ClusterType local address to be used to send or publish the change notification messagesThe key of the object within the ClustertoString()This is also used to create the message sent to the subscribers, therefore the format cannot be changed without changing the parsing
-
Field Details
-
ebAddress
- See Also:
-
ebLocalAddress
- See Also:
-
-
Constructor Details
-
ProxyMessage
public ProxyMessage() -
ProxyMessage
-
ProxyMessage
Parses the message string using ':' as separator.- Parameters:
message- the string containing the message- Throws:
InvalidDataException- wrong message format
-
-
Method Details
-
getClusterType
- Returns:
-
getObjectKey
The key of the object within the Cluster- Returns:
- the ClusterPath without the ClusterType prefix
-
getLocalEventBusAddress
Constructs the UUID/ClusterType local address to be used to send or publish the change notification messages- Returns:
- returns concatenated string of UUID/ClusterType
-
getLocalEventBusMessage
- Returns:
-
toString
This is also used to create the message sent to the subscribers, therefore the format cannot be changed without changing the parsing
-