Use ClientHelper in PrivateMessageFactoryImpl.

This commit is contained in:
akwizgran
2016-03-01 12:05:08 +00:00
parent d342594313
commit 5998412a8a
3 changed files with 13 additions and 33 deletions

View File

@@ -1,14 +1,12 @@
package org.briarproject.api.messaging;
import org.briarproject.api.FormatException;
import org.briarproject.api.sync.GroupId;
import org.briarproject.api.sync.MessageId;
import java.io.IOException;
import java.security.GeneralSecurityException;
public interface PrivateMessageFactory {
PrivateMessage createPrivateMessage(GroupId groupId, long timestamp,
MessageId parent, String contentType, byte[] body)
throws IOException, GeneralSecurityException;
throws FormatException;
}