Package de.xima.fc.cluster.model.msg
Interface IClusterMessage
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
ClusterControllMessage
,ClusterPluginSyncMessage
public interface IClusterMessage extends Serializable
Base interface for messages that can be exchanged between nodes in a cluster.- Since:
- 3.1.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Serializable
getMessageData()
NodeModel
getSourceNode()
NodeModel
getTargetNode()
void
setSourceNode(NodeModel sourceNode)
-
-
-
Method Detail
-
getTargetNode
NodeModel getTargetNode()
- Returns:
- The node to which the message should be sent.
-
setSourceNode
void setSourceNode(NodeModel sourceNode)
- Parameters:
sourceNode
- The source node from which the message originates.
-
getSourceNode
NodeModel getSourceNode()
- Returns:
- The source node from which the message originates.
-
getMessageData
Serializable getMessageData()
- Returns:
- The payload with the message details.
-
-