mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 11:19:04 +01:00
Check periodically for retransmittable packets. Bug #46.
This commit is contained in:
@@ -6,9 +6,9 @@ import org.briarproject.api.TransportId;
|
||||
public class TransportAddedEvent extends Event {
|
||||
|
||||
private final TransportId transportId;
|
||||
private final long maxLatency;
|
||||
private final int maxLatency;
|
||||
|
||||
public TransportAddedEvent(TransportId transportId, long maxLatency) {
|
||||
public TransportAddedEvent(TransportId transportId, int maxLatency) {
|
||||
this.transportId = transportId;
|
||||
this.maxLatency = maxLatency;
|
||||
}
|
||||
@@ -17,7 +17,7 @@ public class TransportAddedEvent extends Event {
|
||||
return transportId;
|
||||
}
|
||||
|
||||
public long getMaxLatency() {
|
||||
public int getMaxLatency() {
|
||||
return maxLatency;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user