Package de.xima.fc.cluster.model.msg
Class ClusterTokenRevokedMessage
- java.lang.Object
-
- de.xima.fc.cluster.model.msg.ClusterTokenRevokedMessage
-
- All Implemented Interfaces:
IClusterMessage,Serializable
public class ClusterTokenRevokedMessage extends Object implements IClusterMessage
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClusterTokenRevokedMessage(UUID refreshTokenId)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 UUIDgetMessageData()NodeModelgetSourceNode()NodeModelgetTargetNode()voidsetSourceNode(NodeModel sender)
-
-
-
Constructor Detail
-
ClusterTokenRevokedMessage
public ClusterTokenRevokedMessage(UUID refreshTokenId)
Creates a new message that tells another node to sync a plugin.- Parameters:
refreshTokenId- 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 UUID getMessageData()
- Specified by:
getMessageDatain interfaceIClusterMessage- Returns:
- The payload with the message details.
-
-