Moved connection window size to TransportConstants.

This commit is contained in:
akwizgran
2012-01-19 22:13:26 +00:00
parent aabb8fb5b3
commit 02c516492f
4 changed files with 7 additions and 7 deletions

View File

@@ -48,7 +48,4 @@ public interface ProtocolConstants {
/** The length of a message's random salt in bytes. */
static final int SALT_LENGTH = 8;
/** The size of the connection reordering window. */
static final int CONNECTION_WINDOW_SIZE = 32;
}

View File

@@ -23,4 +23,7 @@ public interface TransportConstants {
* plugins must support connections of at least this length.
*/
static final int MIN_CONNECTION_LENGTH = 1024 * 1024; // 2^20, 1 MiB
/** The size of the connection reordering window. */
static final int CONNECTION_WINDOW_SIZE = 32;
}