blob: 3de2b65fc11ec253189cb8409ffd2e94488eb2f1 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
package pl.edu.mimuw.cloudatlas.agent.messages;
import pl.edu.mimuw.cloudatlas.agent.modules.ModuleType;
import pl.edu.mimuw.cloudatlas.model.Attribute;
import pl.edu.mimuw.cloudatlas.model.Value;
import pl.edu.mimuw.cloudatlas.model.ValueTime;
public class SetAttributeMessage extends StanikMessage {
private String pathName;
private Attribute attribute;
private Value value;
private ValueTime updateTimestamp;
public SetAttributeMessage(String messageId, long timestamp, String pathName, Attribute attribute, Value value, ValueTime updateTimestamp) {
super(messageId, timestamp, Type.SET_ATTRIBUTE);
this.pathName = pathName;
this.attribute = attribute;
this.value = value;
this.updateTimestamp = updateTimestamp;
}
public SetAttributeMessage() {}
public String getPathName() {
return pathName;
}
public Attribute getAttribute() {
return attribute;
}
public Value getValue() {
return value;
}
public ValueTime getUpdateTimestamp() {
return updateTimestamp;
}
}
|