mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 03:09:04 +01:00
added a cache to the IdentityManager, changed its signature, modified when and where the author is stored
made the author creation single-threaded again in the LifecycleManager, removed redundant code
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
package org.briarproject.api.invitation;
|
||||
|
||||
import org.briarproject.api.identity.AuthorId;
|
||||
|
||||
/** Creates tasks for exchanging invitations with remote peers. */
|
||||
public interface InvitationTaskFactory {
|
||||
|
||||
/** Creates a task using the given pseudonym and invitation codes. */
|
||||
InvitationTask createTask(AuthorId localAuthorId, int localCode,
|
||||
int remoteCode);
|
||||
/** Creates a task using the local author and invitation codes. */
|
||||
InvitationTask createTask(int localCode, int remoteCode);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user