Implement MessageInputStreamFactory interface.

This commit is contained in:
akwizgran
2018-12-06 14:05:36 +00:00
parent eea453fc5f
commit 3487a7cfee
5 changed files with 66 additions and 12 deletions

View File

@@ -35,4 +35,9 @@ public interface SyncConstants {
* The maximum number of message IDs in an ack, offer or request record.
*/
int MAX_MESSAGE_IDS = MAX_RECORD_PAYLOAD_BYTES / UniqueId.LENGTH;
/**
* The maximum length of a message block in bytes.
*/
int MAX_BLOCK_LENGTH = 32 * 2014; // 32 KiB
}