Separate the sync layer from its clients. #112

This commit is contained in:
akwizgran
2015-12-21 14:36:24 +00:00
parent f5f572139a
commit 5355951466
117 changed files with 3160 additions and 3465 deletions

View File

@@ -0,0 +1,12 @@
package org.briarproject.api.messaging;
import static org.briarproject.api.sync.SyncConstants.MAX_MESSAGE_BODY_LENGTH;
public interface MessagingConstants {
/** The maximum length of a private message's content type in bytes. */
int MAX_CONTENT_TYPE_LENGTH = 50;
/** The maximum length of a private message's body in bytes. */
int MAX_PRIVATE_MESSAGE_BODY_LENGTH = MAX_MESSAGE_BODY_LENGTH - 1024;
}