m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/pl/edu/mimuw/cloudatlas
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/pl/edu/mimuw/cloudatlas')
-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;
+ }
+}