mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
13 lines
295 B
Java
13 lines
295 B
Java
package org.briarproject.api.sync;
|
|
|
|
import org.briarproject.api.db.Metadata;
|
|
|
|
public interface MessageValidator {
|
|
|
|
/**
|
|
* Validates the given message and returns its metadata if the message
|
|
* is valid, or null if the message is invalid.
|
|
*/
|
|
Metadata validateMessage(Message m, Group g);
|
|
}
|