Files
briar/briar-api/src/net/sf/briar/api/event/LocalSubscriptionsUpdatedEvent.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;
}
}