Updated group-related events and exceptions.

This commit is contained in:
akwizgran
2016-01-27 17:29:17 +00:00
parent 9d537dce00
commit 3837efca6b
23 changed files with 159 additions and 226 deletions

View File

@@ -0,0 +1,17 @@
package org.briarproject.api.event;
import org.briarproject.api.sync.Group;
/** An event that is broadcast when a group is added. */
public class GroupAddedEvent extends Event {
private final Group group;
public GroupAddedEvent(Group group) {
this.group = group;
}
public Group getGroup() {
return group;
}
}