blob: 4b0b9c81bee24d356036ca4e1ae896a4fa41ac4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
package pl.edu.mimuw.cloudatlas.agent.messages;
import java.util.Map;
import java.util.Map.Entry;
import pl.edu.mimuw.cloudatlas.model.Attribute;
import pl.edu.mimuw.cloudatlas.model.ValueQuery;
import pl.edu.mimuw.cloudatlas.model.ValueTime;
public class UpdateQueriesMessage extends StanikMessage {
private Map<Attribute, Entry<ValueQuery, ValueTime>> queries;
public UpdateQueriesMessage(String messageId, long timestamp, Map<Attribute, Entry<ValueQuery, ValueTime>> queries) {
super(messageId, timestamp, Type.UPDATE_QUERIES);
this.queries = queries;
}
public UpdateQueriesMessage() {}
public Map<Attribute, Entry<ValueQuery, ValueTime>> getQueries() {
return queries;
}
}
|