mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
24 lines
559 B
Java
24 lines
559 B
Java
package net.sf.briar.api.event;
|
|
|
|
import java.util.Collection;
|
|
|
|
import net.sf.briar.api.ContactId;
|
|
|
|
/**
|
|
* An event that is broadcast when the set of subscriptions visible to one or
|
|
* more contacts is updated.
|
|
*/
|
|
public class LocalSubscriptionsUpdatedEvent extends Event {
|
|
|
|
private final Collection<ContactId> affected;
|
|
|
|
public LocalSubscriptionsUpdatedEvent(Collection<ContactId> affected) {
|
|
this.affected = affected;
|
|
}
|
|
|
|
/** Returns the contacts affected by the update. */
|
|
public Collection<ContactId> getAffectedContacts() {
|
|
return affected;
|
|
}
|
|
}
|