mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 11:19:04 +01:00
This change will allow to pass message dependencies from the client validators to the ValidationManager.
29 lines
622 B
Java
29 lines
622 B
Java
package org.briarproject.api.clients;
|
|
|
|
import org.briarproject.api.data.BdfDictionary;
|
|
import org.briarproject.api.sync.BaseMessageContext;
|
|
import org.briarproject.api.sync.MessageId;
|
|
|
|
import java.util.Collection;
|
|
|
|
public class BdfMessageContext extends BaseMessageContext {
|
|
|
|
private final BdfDictionary dictionary;
|
|
|
|
public BdfMessageContext(BdfDictionary dictionary,
|
|
Collection<MessageId> dependencies) {
|
|
|
|
super(dependencies);
|
|
this.dictionary = dictionary;
|
|
}
|
|
|
|
public BdfMessageContext(BdfDictionary dictionary) {
|
|
this(dictionary, null);
|
|
}
|
|
|
|
public BdfDictionary getDictionary() {
|
|
return dictionary;
|
|
}
|
|
|
|
}
|