Package de.xima.fc.cluster.model.msg
Class ClusterPluginSyncMessage
- java.lang.Object
- 
- de.xima.fc.cluster.model.msg.ClusterPluginSyncMessage
 
- 
- All Implemented Interfaces:
- IClusterMessage,- Serializable
 
 public class ClusterPluginSyncMessage extends Object implements IClusterMessage A message that is sent when a plugin was activated or deactivated. Informs other nodes that they should sync the state of that plugin.- Since:
- 3.1.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description ClusterPluginSyncMessage(PluginSyncData pluginSyncData)Creates a new message that tells another node to sync a plugin.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description PluginSyncDatagetMessageData()NodeModelgetSourceNode()NodeModelgetTargetNode()voidsetSourceNode(NodeModel sender)
 
- 
- 
- 
Constructor Detail- 
ClusterPluginSyncMessagepublic ClusterPluginSyncMessage(PluginSyncData pluginSyncData) Creates a new message that tells another node to sync a plugin.- Parameters:
- pluginSyncData- Details about the plugin to be synced.
 
 
- 
 - 
Method Detail- 
getTargetNodepublic NodeModel getTargetNode() - Specified by:
- getTargetNodein interface- IClusterMessage
- Returns:
- The node to which the message should be sent.
 
 - 
setSourceNodepublic void setSourceNode(NodeModel sender) - Specified by:
- setSourceNodein interface- IClusterMessage
- Parameters:
- sender- The source node from which the message originates.
 
 - 
getSourceNodepublic NodeModel getSourceNode() - Specified by:
- getSourceNodein interface- IClusterMessage
- Returns:
- The source node from which the message originates.
 
 - 
getMessageDatapublic PluginSyncData getMessageData() - Specified by:
- getMessageDatain interface- IClusterMessage
- Returns:
- The payload with the message details.
 
 
- 
 
-