mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 03:09:04 +01:00
25 lines
406 B
Java
25 lines
406 B
Java
package net.sf.briar.protocol;
|
|
|
|
import java.util.BitSet;
|
|
|
|
import net.sf.briar.api.protocol.Request;
|
|
|
|
class RequestImpl implements Request {
|
|
|
|
private final BitSet requested;
|
|
private final int length;
|
|
|
|
RequestImpl(BitSet requested, int length) {
|
|
this.requested = requested;
|
|
this.length = length;
|
|
}
|
|
|
|
public BitSet getBitmap() {
|
|
return requested;
|
|
}
|
|
|
|
public int getLength() {
|
|
return length;
|
|
}
|
|
}
|