m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/UpdateContactsMessage.java
blob: 227d2131cde0bbdc53db1abb1a8195e639327c1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package pl.edu.mimuw.cloudatlas.agent.messages;

import java.util.Set;

import pl.edu.mimuw.cloudatlas.model.ValueContact;

public class UpdateContactsMessage extends StanikMessage {
    private Set<ValueContact> contacts;

    public UpdateContactsMessage(String messageId, long timestamp, Set<ValueContact> contacts) {
        super(messageId, timestamp, Type.UPDATE_CONTACTS);
        this.contacts = contacts;
    }

    public UpdateContactsMessage() {}

    public Set<ValueContact> getContacts() {
        return contacts;
    }
}