m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2019-12-30 14:27:02 +0100
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2019-12-30 14:27:02 +0100
commit4def2fc74f86df8eb15ef8ecd6b0ed37e83f0803 (patch)
tree665e88a50176b115bd0ea5ad9706dc64a3b8bdbf /src
parentc9a84787cd8d3ebb142b11096c5693ca44cfcff2 (diff)
Add zmi removal message
Diffstat (limited to 'src')
-rw-r--r--src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/RemoveZMIMessage.java22
1 files changed, 22 insertions, 0 deletions
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;
+ }
+}