Factored out code for creating private groups.

This commit is contained in:
akwizgran
2016-01-28 18:05:01 +00:00
parent ce9a81ff98
commit 4e17621081
5 changed files with 78 additions and 66 deletions

View File

@@ -0,0 +1,9 @@
package org.briarproject.api.sync;
import org.briarproject.api.contact.Contact;
public interface PrivateGroupFactory {
/** Creates a group for the given client to share with the given contact. */
Group createPrivateGroup(ClientId clientId, Contact contact);
}