Retrieve the set of unseen connection numbers from a connection

window.
This commit is contained in:
akwizgran
2011-08-11 13:58:11 +01:00
parent ac4521152f
commit 0e6638bad6
3 changed files with 69 additions and 8 deletions

View File

@@ -1,5 +1,7 @@
package net.sf.briar.api.transport;
import java.util.Collection;
public interface ConnectionWindow {
long getCentre();
@@ -9,4 +11,6 @@ public interface ConnectionWindow {
boolean isSeen(long connectionNumber);
void setSeen(long connectionNumber);
Collection<Long> getUnseenConnectionNumbers();
}