Added message queue manager.

This commit is contained in:
akwizgran
2016-03-07 14:31:45 +00:00
parent c9276de399
commit a4d6de0340
9 changed files with 372 additions and 23 deletions

View File

@@ -0,0 +1,12 @@
package org.briarproject.api.clients;
import org.briarproject.api.sync.GroupId;
import org.briarproject.api.sync.MessageId;
public interface QueueMessageFactory {
QueueMessage createMessage(GroupId groupId, long timestamp,
long queuePosition, byte[] body);
QueueMessage createMessage(MessageId id, byte[] raw);
}