Facade for private message headers. #173

This commit is contained in:
akwizgran
2015-12-17 16:04:45 +00:00
parent 87689855da
commit f899bc0c38
9 changed files with 147 additions and 50 deletions

View File

@@ -0,0 +1,23 @@
package org.briarproject.api.messaging;
import org.briarproject.api.identity.Author;
import org.briarproject.api.sync.MessageId;
public interface PrivateMessageHeader {
enum Status { STORED, SENT, DELIVERED }
MessageId getId();
Author getAuthor();
String getContentType();
long getTimestamp();
boolean isLocal();
boolean isRead();
Status getStatus();
}