mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 19:29:06 +01:00
RemoteWipeManager builds messages using the message encoder
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
package org.briarproject.briar.api.remotewipe;
|
||||
|
||||
public interface MessageEncoder {
|
||||
byte[] encodeSetupMessage();
|
||||
|
||||
byte[] encodeWipeMessage();
|
||||
}
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
package org.briarproject.briar.api.remotewipe;
|
||||
|
||||
import org.briarproject.bramble.api.FormatException;
|
||||
import org.briarproject.bramble.api.data.BdfList;
|
||||
|
||||
public interface MessageParser {
|
||||
void parseSetupMessage(BdfList body) throws FormatException;
|
||||
|
||||
void parseWipeMessage(BdfList body) throws FormatException;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user