mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
17 lines
446 B
Java
17 lines
446 B
Java
package net.sf.briar.transport;
|
|
|
|
interface FrameWindow {
|
|
|
|
/** Returns true if the given number is too high to fit in the window. */
|
|
boolean isTooHigh(long frameNumber);
|
|
|
|
/** Returns true if the given number is in the window. */
|
|
boolean contains(long frameNumber);
|
|
|
|
/**
|
|
* Removes the given number from the window and advances the window.
|
|
* Returns false if the given number is not in the window.
|
|
*/
|
|
boolean remove(long frameNumber);
|
|
}
|