From 4def2fc74f86df8eb15ef8ecd6b0ed37e83f0803 Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Mon, 30 Dec 2019 14:27:02 +0100 Subject: Add zmi removal message --- .../agent/messages/RemoveZMIMessage.java | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/RemoveZMIMessage.java (limited to 'src/main/java/pl/edu/mimuw/cloudatlas/agent/messages') diff --git a/src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/RemoveZMIMessage.java b/src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/RemoveZMIMessage.java new file mode 100644 index 0000000..9330185 --- /dev/null +++ b/src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/RemoveZMIMessage.java @@ -0,0 +1,22 @@ +package pl.edu.mimuw.cloudatlas.agent.messages; + +import pl.edu.mimuw.cloudatlas.model.ValueTime; + +public class RemoveZMIMessage extends StanikMessage { + private String pathName; + private ValueTime removalTimestamp; + + public RemoveZMIMessage(String messageId, long timestamp, String pathName, ValueTime removalTimestamp) { + super(messageId, timestamp, Type.REMOVE_ZMI); + this.pathName = pathName; + this.removalTimestamp = removalTimestamp; + } + + public String getPathName() { + return pathName; + } + + public ValueTime getRemovalTimestamp() { + return removalTimestamp; + } +} -- cgit v1.2.3