m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/RemoveZMIMessage.java
blob: e7b03baa4cb8ac8dfd519199f022845915a695ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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 RemoveZMIMessage() {}

    public String getPathName() {
        return pathName;
    }

    public ValueTime getRemovalTimestamp() {
        return removalTimestamp;
    }
}