blob: e457c2147e6ea9c71a41b97bd4a59419dbf86d43 (
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
|
package pl.edu.mimuw.cloudatlas.agent.messages;
import pl.edu.mimuw.cloudatlas.model.Attribute;
import pl.edu.mimuw.cloudatlas.model.ValueQuery;
public class QueryMessage extends RemoteGossipGirlMessage {
private Attribute name;
private ValueQuery query;
private long receiverGossipId;
public QueryMessage(String messageId, long timestamp, Attribute name, ValueQuery query, long receiverGossipId) {
super(messageId, timestamp, Type.QUERY);
this.name = name;
this.query = query;
this.receiverGossipId = receiverGossipId;
}
public QueryMessage() {}
public Attribute getName() {
return name;
}
public ValueQuery getQuery() {
return query;
}
public long getReceiverGossipId() {
return receiverGossipId;
}
}
|