Messages are no longer encoded as raw byte arrays.

This commit is contained in:
akwizgran
2011-07-19 14:01:33 +01:00
parent 30fc6c1a92
commit ff984c69fb
11 changed files with 116 additions and 79 deletions

View File

@@ -0,0 +1,13 @@
package net.sf.briar.protocol;
import java.io.IOException;
import java.security.GeneralSecurityException;
import net.sf.briar.api.protocol.Message;
import net.sf.briar.api.serial.Reader;
interface MessageReader {
Message readMessage(Reader r) throws IOException,
GeneralSecurityException;
}