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 Summary
Constructors Constructor Description ClusterPluginSyncMessage(PluginSyncData pluginSyncData)Creates a new message that tells another node to sync a plugin. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PluginSyncDatagetMessageData()NodeModelgetSourceNode()NodeModelgetTargetNode()voidsetSourceNode(NodeModel sender) 
 - 
 
- 
- 
Constructor Detail
- 
ClusterPluginSyncMessage
public 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
- 
getTargetNode
public NodeModel getTargetNode()
- Specified by:
 getTargetNodein interfaceIClusterMessage- Returns:
 - The node to which the message should be sent.
 
 
- 
setSourceNode
public void setSourceNode(NodeModel sender)
- Specified by:
 setSourceNodein interfaceIClusterMessage- Parameters:
 sender- The source node from which the message originates.
 
- 
getSourceNode
public NodeModel getSourceNode()
- Specified by:
 getSourceNodein interfaceIClusterMessage- Returns:
 - The source node from which the message originates.
 
 
- 
getMessageData
public PluginSyncData getMessageData()
- Specified by:
 getMessageDatain interfaceIClusterMessage- Returns:
 - The payload with the message details.
 
 
 - 
 
 -